|
From: Petr M. <mi...@ph...> - 2006-04-16 19:33:41
|
It seems that are some request how to get some gnuplot internal variables
into the user space. For example, the current x and y ranges or the current
terminal name. Thus, the following could be helpful:
a = GPGET("terminal") => return "x11"
a = GPGET("termoptions") => return "enhanced noraise"
xmin = GPGET("xmin") => return min of xrange of the last plot
... GPGET("xmax"), "y2min", "cbmin", etc.
Only few variables, the most important, should be availabe now -- others
could be added on user's request any later, without poluting the user
space with new var/funcs.
That would solve this major problem (necessary before 4.2): Do you know
"gzoom" in Matlab/Octave? This command asks user to zoom-in the region of
interest. However, in gnuplot, you cannot access this range by
functions/variables -- it can only by printed to screen by "show xrange".
What do you think about GPGET("xmin") et al?
Or putting the plot ranges into XMIN, XMAX, etc?
---
PM
|