|
From: Ethan M. <merritt@u.washington.edu> - 2007-06-14 18:26:51
|
On Thursday 14 June 2007 01:10, Petr Mikulik wrote: > > I was always puzzled by "currently [-10:10]" when the range was completely > different. Indeed, "default" is the correct word. However, this information > is completely useless. I usually want to show the real xrange, not the > unused default. Nowadays, I can do > print GPVAL_Y_MIN, GPVAL_Y_MAX > but that's rather cumbersome and not easy to find for others. > > I proposed to apply Daniel's patch. Then, via "show yrange", I can easily > copy the real current range to my script, and edit the range manually. OK. I warn you that the existing code for zoom/unzoom actually looks at these values, so it is possible this may change the zoom behaviour. But the "refresh" patch I've been working on replaces that code anyhow, so now might not be such a bad time to take the risk. -- Ethan A Merritt |