Ben Dugan on 5 May 2004 12:38:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] gnuplot


awk makes quick work of this:

$ cat datafile
10 10 200
10 15 300
5 20 100
5 40 50
$ awk '$3>150' datafile > data1
$ awk '$3<=150' datafile > data2

Then in gnuplot just splot 'data1', 'data2'

Thanks, Jason. That's neat.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug