[ILUG] gnuplot question

Paul Jakma paul.jakma at compaq.com
Fri Mar 10 10:59:46 GMT 2000


On Thu, 9 Mar 2000, Paul Jakma wrote:

> On Thu, 9 Mar 2000, Lars Hecking wrote:

> > gnuplot> plot "foo.dat" using 1:3, "foo.dat" using 1:4, "foo.dat" using 2:4
> > 
> >  will plot three graphs in the same plot: column 1 vs. column 2,
> >  column 1 vs. column 4, and column 2 vs. column 4.

ok seems to do what i want with:

plot "foo.dat" using 1 title "foo" with lines, "foo.dat" using 2 title
"bar" with lines, ...

which can be shortened to:

plot "foo.dat" u 1 t "foo" w l, "foo.dat" u 2 t "bar" w l, "foo.dat" u 3
t "fubar" w l, etc... etc..

which is a bit longwinded cause i have 4 values, but does the
trick.

Thanks Lars!

-paul





More information about the ILUG mailing list