Thanks, this exactly parses the file. It will also be a good exercise to understand that.
I supposed there would be a simpler way to do this in gnuplot. It is a common graph.
> you need gnuplot 4.3-cvs
>
> set datafile separator ","
> t=""
> plot for [i=0:4] 'ts.dat' us
> ((i==0&&$0==0)?(b=$2,t=stringcolumn(1)):99 ,
> $0==0?(a=b):99, $0==(i+1)?(b=$2,t=stringcolumn(1)):99 ,
> $0):(a) with lines
> title t
>
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to:
http://p.sf.net/sfu/opensolaris-get_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info