[ILUG] gnuplot question
lhecking at nmrc.ucc.ie
Fri Mar 10 12:04:25 GMT 2000
> 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..
Personal recommendation: use the shortened form of the commands in
interactive mode only. Use the full commands and options for scripts.
Not only will this make maintenance easier for others, it will also
assert that your scripts are fully functional under future versions
of gnuplot (I have already rewritten significant parts of the parser;
not quite finished yet). Post-3.7 versions of gnuplot will for instance
allow arbitrary ordering of command options.
More information about the ILUG