|
From: Jeremy C. <jer...@gm...> - 2009-06-04 13:59:29
|
On Thu, Jun 4, 2009 at 5:06 AM, Thomas Sefzick <t.s...@fz...>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
|