Am 28.04.2018 um 12:07 schrieb Riccardo (Jack) Lucchetti:
On Fri, 27 Apr 2018, Sven Schreiber wrote:
> Hi,
>
> I think it would be useful if gnuplot's capability to put several
> plots next to each other could be offered to the gretl user. What
> comes to mind is the 'plot ... end plot' block.
>
> What I mean is to introduce a further 'subplot' nested block such that
> the following block would produce the same thing as the (already
> currently working, at least for me) hansl code at the end.
>
> Would that be too difficult to arrange?
I guess it would complicate the "plot" syntax considearbly.
I find it relatively intuitive...
How about a
function package that takes gnuplot files generated by our native
commands and arranges them in a nice grid?
In principle, why not. Although I think it's a bit clumsy that the user
then has to define file names that are going to be just temporary anyway:
string f1 = "foo"
string f2 = "bar"
gnuplot <whatever> --output="@f1"
gnuplot <whatever> --output="@f2"
newmultiplotpackage(defarray(f1, f2))
Or what would be your interface suggestion?
thanks,
sven