On Sun, 11 May 2014, Javier Sansa wrote:
there has been a change since yesterday. I eliminated the blank space
after
set autoscale and now I get a graphic that covers 1/3 of the available
surface. See attached pdf file, but I still cannot find the right syntax.
I have tried
gnuplot {set multiplot layout 3,1 rowsfirst downwards; set autoscale ; set
title 'AA';} BE_1_10_11 BE_1_10_12 BE_1_10_13 --time-series --with-lines
gnuplot BE_1_10_12 BE_1_10_13 --time-series --with-lines \
gnuplot BE_1_10_11 --time-series --with-lines --output=display \
What you're trying to do here is not supported and I'd be very
surprised if it worked. The {...} block for the "gnuplot" command is
intended for adding a title, labels, arrows and so on, not for
creating a multiplot.
To create a custom plot via hansl script the recommended procedure
is:
1) Use the "outfile" command with the --write option to open a
new gnuplot input file.
2) Use "print" or "printf" to send suitable gnuplot commands to the
file.
3) Do "outfile --close"
4) Call gretl's "gnuplot" command with the --input option to process
the file you created.
Trivial example:
<hansl>
outfile myplot.plt --write
printf "set title \"My plot\"\n"
printf "set xrange [0:10]\n"
printf "plot log(x)\n"
outfile --close
gnuplot --input=myplot.plt --output=myplot.pdf
</hansl>
Allin Cottrell