|
From: Hans-Bernhard B. <br...@ph...> - 2005-01-19 17:50:47
|
Peter Bossy wrote: > I'm not sure if there is a solution for this problem: > I want to read a single value from another datafile than the plotted > file, and store the value in a variable for calculations while > plotting. No way from inside gnuplot, I suspect (well, except maybe some seriously ugly hack involving a 'fit' of that data file...). The usual way would be to assume piping capabilities, and let external tools do the job, i.e.: myvar = `program_to_extract_value_from -option filename` Note that those are back-quotes ``, not ordinary '' ones. |