|
From: Petr M. <mi...@ph...> - 2006-07-08 22:11:08
|
>> 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.
The values GPVAL_X_MIN etc are changed after the zoom! Thus:
plot sprintf("< scriptname %g %g",GPVAL_X_MIN,GPVAL_X_MAX) with lines
---
PM
|