|
From: Ethan A M. <merritt@u.washington.edu> - 2006-07-08 22:12:02
|
On Saturday 08 July 2006 03:03 pm, Tino Wildenhain wrote:
> Ethan A Merritt wrote:
> ...
> > Right. That you can do, for instance by passing the values as
> > script parameters:
> >
> > command1 = sprintf("< scriptname %g %g",GPVAL_X_MIN,GPVAL_X_MAX)
> > plot command1 with lines
>
> Well, this works with the current checkout, but not in a way to
> fix the problem ;) After the sprintf of course the values
> are fixed in the string and are not recalculated when you
> select another area to zoom with the mouse.
So put it in the plot command directly.
That way it will get re-evaluated every time:
> So a mapping to the environment would be the most flexible
> way to make all this possible I guess...
That would suffer the same problem. You would have to
re-export the environmental variable prior to doing each
replot.
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|