2011/12/5 Riccardo (Jack) Lucchetti <r.lucchetti@univpm.it>
On Mon, 5 Dec 2011, Allin Cottrell wrote:

This may not be directly relevant to the task you describe, but it's not too far distant: in CVS and snapshots, the "yvars" and "xvar" arguments to the gnuplot command can now be left implicit when a matrix is specified via the --matrix option.

for example, if you want to see an nice bunch of random walks:

<hansl>
X = cum(mnormal(40,3)) ~ seq(1,40)'
gnuplot --matrix=X --output=display --with-lines
</hansl>



If --time-series is given the default is to plot all columns of the matrix against time, otherwise the last column of the matrix is taken as "xvar" and the others as "yvars".

or

<hansl>
X = cum(mnormal(40,3))
gnuplot --matrix=X --output=display --with-lines --time-series
</hansl>



Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti@univpm.it
http://www.econ.univpm.it/lucchetti

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users

That's good know!

Btw, is there a reason why the "scatters" command does not work for matrices?

Best,
Artur