OK, since enhancement of graphing has been a sub-plot of
working towards gretl 1.9.7, I've added a --matrix=whatever
option to the "scatters" command. You can give the x and y
specifications with series, but if you omit them you get a
plot of all columns of the matrix against time (or an index
variable). While I was at it I raised the max number of plots
i>n
"scatters" to 16. Example:
<hansl>
matrix = mnormal(40,16)
scatters --with-lines --output=display --matrix=m
</hansl>
Thank you for implementing this, Allin. The output looks very nice, and it
is good to have the possibility to plot more than 6 figures within scatters
(e.g. for drawing impulse-response-functions with some more variables
within one window).
But there seems to be a bug if one wants to save the output to *.eps. In
your example only the 13th sub-figure is saved.
Best,
Artur
2011/12/7 Riccardo (Jack) Lucchetti <r.lucchetti(a)univpm.it>
On Tue, 6 Dec 2011, Allin Cottrell wrote:
Well, I suppose I can imagine cases where one would like to do this
> (though it's not something I've ever wanted to do), but it's
> sufficiently uncommon that I'm inclined to repeat my previous
> advice: you can do it in a gnuplot command file (without too much
> difficulty) if you really want to.
>
Let me add: not only you can do it via gnuplot syntax, you can also
produce the two plots separately and arrange them side by side (or any
other way you like) in your document: I've almost always found the
"tabular" environment more than adequate to the purpose.
More generally, I agree that one of gretl's strong points (which I can
take absolutely no credit for) is its very very nice way of interacting
with gnuplot, but I'm strongly against going over the top and acting as if
gretl was some kind of gnuplot frontend.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/**lucchetti<http://www.econ.univpm.it/lucche...
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users