|
From: Ethan A M. <EAM...@gm...> - 2016-07-30 03:53:53
|
On Friday, 29 July 2016 11:07:29 PM Alan Corey wrote: > On 7/29/16, Ethan Merritt <eam...@gm...> wrote: > > Use the "stats" command. If you only need to know the y value range, that > > would be > > > > stats "outvals.tab" using 2 > > Thank you, that's close. What it gets though are the min/max of the > data rather than the limits of the plot. For example 17.6 - 31.9 > rather than 16 - 32. I imagine there's a relatively simple formula > that sets the plot limits to round numbers? I think those are what I > should put through the * 1.8 + 32 conversion. I probably can't access > the plot limits but I can derive them over again from the data limits > if I know the formula. Not a formula. By default the axis range is extended to the next tic mark. What that is depends on "set ytics". If you do not want the axis range to extend beyond the actual data, you can use the keyword "noextend". I.e. set yrange [*:*] noextend In that case the axis range will exactly match the min/max of the data y coordinates,. See "help noextend" Ethan |