I am trying to plot a couple of trivial graphs using multiplot to get the
The code is:
set term png enhanced background rgb"light-blue"
set output "both_sideways.png"
set multiplot layout 1,2 title "Now I can see this"
set title "sine"
set xlabel "x" #set xlable and ylabel
set ylabel "y=sin(x)"
#set a pink background color
set object 1 rectangle from screen 0,0 to screen 0.5,AutoScale fillcolor
plot sin(x) with lines linecolor rgb"light-green" notitle
unset object 1
set object 2 rectangle from screen 0.5,0 to screen 1,AutoScale fillcolor
set title "cosine"
set ylabel "y=cos(x)" #set ylable, xlabel set above
#set a light-green background color
plot cos(x) with lines linecolor rgb"pink" notitle
The problem i have is defining AutoScale, which i have to guess. This
example uses 0.9 for ymax in screen mode (for want of a better term). Is
there a way to get gnuplot to automatically define AutoScale? I know it has
internal variables (GPVAL_?) that can be used after doing dummy plots to set
them. There must be one that defines the multiplot title region?
View this message in context: http://gnuplot.10905.n7.nabble.com/Autoscaling-tp17473.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
Get latest updates about Open Source Projects, Conferences and News.