From: Thomas Sefzick <t.sefzick@fz...> - 2012-05-07 08:38:02
after plotting one column you may use the variables
GPVAL_Y_MIN and GPVAL_Y_MAX, or
GPVAL_DATA_Y_MIN and GPVAL_DATA_Y_MAX
which contain the information you are interested in.
> Hi Users,
> I have many columns in a .dat file, where the minimum and maximum differs
> for each column. I want to know the minimum and maximum for each column so
> that I can set the axes limits in my script for plotting. Is there any way
> in GNU Plot which can automate this step. Currently, I find minima and
> maxima outside GNU Plot and set axes. This is time consuming and not
> efficient. Your help will be highly appreciated.
> My data looks like:
> # Sample data with one X and Y1, Y2..Yn
> # X Y1 Y2
> 1 50 3
> 2 100 2
> 3 10 35
View this message in context: http://old.nabble.com/Evaluate-Column-minima-and-maxima--in-the-Script-tp33763496p33763524.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.