Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gnuplot: canvas size

Tags:

canvas

gnuplot

when plotting my data using gnuplot, I experience that the right border is cut off, so the last x value is not completely visible. How can I set the canvas to be larger?

plot

like image 589
Will Avatar asked Jun 30 '11 13:06

Will


People also ask

Is gnuplot easy?

gnuplot is a not-quite-as-easy-to use, though extremely powerful, command-line plotting program. Running gnuplot is easy: from a command prompt on any system, type gnuplot. It is even possible to do this over a telnet or ssh connection, and preview the graphs in text mode!

What is Multiplot gnuplot?

The command set multiplot places gnuplot in the multiplot mode, in which several plots are placed on the same page, window, or screen.

How do I save a gnuplot file as a PNG?

png output) gnuplot> set output "printme. png" (output to any filename. png you want) gnuplot> replot gnuplot> set term x11 You can view it with some viewer, or on a browser, or print it... or import it in PowerPoint or whatever you want to do with it.


1 Answers

Being pretty much annoyed by a tiny Gnuplot window making use of just a humble tile of my screen and xrange/yrange just fitting more/less data into the very same tiny window, I have came to exactly the question: "How to increase the canvas area?". The answer I've found (being exactly what I was looking for) is

set terminal wxt size 1300,600

where 1300 is the width and 600 is the height. The option of specifying size for the wxt terminal is said to be only available in the latest Gnuplot versions (for example 4.2 is said to be missing it) but it works just fine for my 4.4.

like image 164
Ivan Avatar answered Nov 09 '22 18:11

Ivan