|
From: Thomas S. <t.s...@fz...> - 2009-05-05 18:20:53
|
you may check for the right x-value (here '3') using the ternary operator: plot 'datafile' using 1:($1==3?a=$2:0 , 0/0) notitle, '' using 1:($2/a) with linespoints the '0' as the 2nd alternative of the ternary operation is only there to make the ternary expression complete, it has no deeper meaning. uli80 wrote: > > Thanks for the quick and helpful answer! > > Just one more thing: If I need the y value to a certain x value, do I have > to check the data file and count the number of lines? > > -- View this message in context: http://www.nabble.com/Access-data-value-in-file-tp23387215p23393177.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |