On Thu, Jun 4, 2009 at 5:06 AM, Thomas Sefzick <
t.sefzick@...>wrote:
>
> get 1st data of column 3:
>
> x1 = system("head -n1 datafilename | cut -d ' ' -f 3")
> or
> x1 = system("head -n1 ts.dat | awk '{print $3}'")
>
> or with gnuplot 4.3-cvs:
>
> set table
> plot 'datafilename' us 0:($0==0?(x1=$3):$3)
> unset table
>
I do have gnuplot 4.3 and that command sets x1 to the value I want. But
it's rather cryptic. Can you tell me what everything means or point me
toward the documentation explaining it?
Thanks,
Jeremy
------------------------------------------------------------------------------
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