|
From: <br...@ph...> - 2006-08-25 20:46:45
|
pau wrote:
> following the conversation, I now try to use a replot command
Erm, I don't think I saw any mention of replot anywhere in this
conversation. It's quite counter-productive in for what you're doing
here. Among other things, it causes each data file to be gunzipped
*three* times, instead of twice.
> set pointsize 1
> plot "< zcat $f" using 3:4 with dots lt 8;
> set pointsize 2;
> replot "< zcat $f | gawk -v NAME=60001 '/AS/ {TIME=$4} $1==NAME {print
> TIME,$2,$3,$4,$5,$6,$7,$8,$11; exit}'" using 3:4 with points pt 6 lt -1 ;
Check out 'help plot' to understand how to plot more than one data set
in a single 'plot' command. Modify pointsize by 'plot' option, rather
than by 'set pointsize'.
But all of that is a side issue. The real stumbling stone is this
question: which of the many programs used by this script: zsh, gnuplot,
zcat or gnuplot, will evaluate the $4 in "{TIME=$4}", and all the other
$<number> thingies further down the line?
|