|
From: <br...@ph...> - 2006-06-25 17:30:05
|
sternenstaunerlaus wrote: > One simple solution would be to type "using $1:($2/DP1)" where DP1 is a > variable formely defined as value of the first data point. > Unfortunately this doesn't help me, since I have more than 300 files to plot > and it has to be done in an automatic way. > > Is there a way to read a certain value out of a set of Data (e.g. column 1, > row 1)? Not inside gnuplot. But external tools can help, if you're doing this on a sane platform. You'll have to write a little script (in awk, Perl sh or something like those, depending on your personal preferences) that does the extraction job, and prints the number to stdout: DP1=`your_tool your_file.dat` |