|
From: Ethan A M. <merritt@u.washington.edu> - 2008-07-11 07:01:37
|
On Wednesday 09 July 2008, Petr Mikulik wrote: > After the addition of new automatic GPVAL_ variables, I wish to be able to > rebound some hotkeys, for example: > > bind Right "if (GPVAL_SPLOT) builtin_rotate_right; \ > else set xrange [GPVAL_X_MIN+100:GPVAL_X_MAX+100]; reread" > > I propose to move the "builtin_" functions from the default "bind" command > among other functions callable from the command line. What happens if mousing is not active when you call such a function? Suppose, for instance, that I am viewing using "set term png; set output '|display png:-' which I frequently do. Does calling the function print an error? Does it silently change the view angle internally without changing the displayed image? Does it force a replot even though this terminal wouldn't normally respond to hotkeys? -- Ethan A Merritt |