[Thread Prev][Thread Next][Index]
Re: using user defined variable in ferret script
Francois,
the right syntax is:
plot sst[x=`x1`, y = `y1`]
or you may also use Ferret symbols:
def symbol x1 4
def symbol y1 5
plot sst[x=($x1), y=($y1)]
Jean-Marie
CERFACS
Toulouse, France
> Hi,
>
> I would like to build a script .jnl in which I define 2 long and lat
> variables, such as:
> let x1 = 4.
> let y1 = 5.
> and after to plot a cdf variable according to the following expression:
> plot sst[x=x1, y=y1] (for exemple)
> But ferret does not accept this formulation.
>
> What the best way to do that ?
>
> Thanks in advance
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement