[ . . . ]
tohc = t[gt=ohc@asn]
plot/vs/nolab/nokey/col=1/thick/opacity=40/line/ov/dash/t=jan-1964 {`tohc`,`tohc`},{-4*10^-22,12*10^-22}
There is at least one error here. You need to use backquotes to tell Ferret to "evaluate" the numbers.
For demonstration . . .
yes? let a = {-4*10^-22, 12*10^-22} ! includes two operations for each number
yes? list a
**ERROR: command syntax: must be a constant -4*10^-22
yes? let a = {`-4*10^-22`, `12*10^-22`}
!-> DEFINE VARIABLE a = {-4.E-22, 1.2E-21}
yes? let a = {`-4*1E-22`, `12*1E-22`}
Also, I recommend a constant "1E-22" over "10^-22" because the latter involves a calculation whereas the former is just a numerical constant.
Ryo
**ERROR: command syntax: plot
can anyone suggest what is wrong with this command that I am trying to plot in PyFerret v7.63.
I know that this command was working previously but now it is not and I have no idea what is wrong I am doing.
Cheers, Saurabh