|
From: Ethan M. <merritt@u.washington.edu> - 2007-01-17 23:25:08
|
On Wednesday 17 January 2007 13:03, Christian Henning wrote: > I make gif-dataplots with gnuplot under linux. I use the autorange function. > For further processing I need to know the scale of the generated y and y1 > axis. So I would like to have an output (stdout) like this: > > Y1-Max: 55 > Y1-Min: 45 > Y2-Max:2.9 > Y2-Min:1.2 > > Can you give me an hint were the axis is calculeted and were I can find > these values. In version 4.2 (but not in earlier versions) these are exported as user variables. plot 'foo' print "Y1-max:", GPVAL_Y_MAX print "Y1-min:", GPVAL_Y_MIN print "Y2-max:", GPVAL_Y2_MAX print "Y2-min:", GPVAL_Y2_MIN |