[Thread Prev][Thread Next][Index]

Re: polymark weird error



Billy,

These ($x/yaxis_max/min) variables are defined by ferret during the
creation of a plot.  The polymark.jnl script should only be used to draw
polygons on top of a preexisting plot.  Try the following 

GO fland 1 baseplot
! 
! Note that "go land 1 baseplot" DOES NOT define the ($yaxis_max/min)
variables
!
! And don't forget the /OVER in the polygon command
!
GO polymark polygon/OVER/lev=(15,31,1,-1) dlonc dlatc sst circle


I hope that solves it.


-- Jon


Billy Kessler wrote:
> 
> Hi Jon -
> 
> I'm getting a weird error in polymark. It is not defining
> ($yaxis_max) or ($yaxis_min), and as a result it gives the
> error:
> 
> yes? go polymark polygon/lev=(15,31,1,-1) dlonc dlatc sst circle
>  **ERROR: command syntax: (( )-( ))/6.000
>           ( before ) is illegal
> DEFINE VARIABLE/QUIET PLMyscale = (( )-( ))/6.000
> Command file, command group, or REPEAT execution aborted
> 
> This is occurring because ($yaxis_max) and ($yaxis_min) are
> not defined, and as a result the command (in polymark):
> 
> LET/QUIET PLMyscale = ((($yaxis_max))-(($yaxis_min)))/($ppl$ylen)
> 
> produces the above error.
> 
> On the other hand:
> 
> yes? plot/vs/line dlonc dlatc
> 
> Produces a perfectly fine plot, as does:
> 
> yes? plot/vs/line dlatc,sst
> 
> And all these quantities STAT properly.
> 
> Any idea what's going on here?
> 
> Thanks, Billy K


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement