[Thread Prev][Thread Next][Index]

Re: [ferret_users] [ferret] qualifier modulo for polygon command



Hi Patrick,
Polygon already has some modulo capabilities, if you give the appropriate variable the units of longitude. (this did not work correctly before version Ferret 5.8.)

let xtriangle = ysequence({-1,0,1})
let ytriangle = ysequence({-1,1,-1})
let xpts = 30*randu(i[i=1:10])
let ypts = 30*randu(1+i[i=1:10])

let/title=longitude/units=degrees_east xt=xtriangle+xpts
let/title=latitude/units=degrees_north yt=ytriangle+ypts
set view upper
poly xt,yt, i[i=1:10]
set view lower
let xpts = 360+30*randu(i[i=1:10])
poly xt,yt, i[i=1:10]

Ansley

Patrick Brockmann wrote:

Hi all,

I really appreciate the exsistance of the qualifier /modulo for the SHADE command
to draw modulo replications of a field for curvilinear data.
Is it possible to get the same for the POLYGON command ?
Thanks
Patrick


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement