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?
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!
The command set multiplot places gnuplot in the multiplot mode, in which several plots are placed on the same page, window, or screen.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With