ToBeReviewed/GRILLE/
tracegrille.pro
Draw the grid
tracegrille
Grid
tracegrille[, glamin][, gphiin], OCEAN=OCEAN, EARTH=EARTH, XSTRIDE=integer, YSTRIDE=integer, RMOUT=RMOUT, _EXTRA=_EXTRA
Parameters
glamin
in
optional
type: 1d or 2d array
default: glam specified by vargrid, on the domain defined by domdef
Longitude of points of the grid.
gphiin
in
optional
type: 1d or 2d array
default: gphi specified by vargrid, on the domain defined by domdef
Latitude of points of the grid.
Keywords
OCEAN
To trace the grid only on ocean points.
EARTH
To trace the grid only on land points.
XSTRIDE
type: integer
default: 1
It specify that we want to trace only one line of
constant i every xstride points
YSTRIDE
type: integer
default: 1
It specify that we want to trace only one line of
constant j every xstride points
RMOUT
Select to remove all cell having one corner out of the
plot boundaries (!x.range, !y.range)
_EXTRA
Used to pass keywords
Examples
IDL> plt,indgen(jpi,jpj),/nocontour,/nofill
IDL> vargrid='T'
IDL> tracegrille,/ocean,color=20
IDL> tracegrille,/earth,color=80
Version history
Version
$Id: tracegrille.pro 327 2007-12-13 16:22:35Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
Other attributes
Uses routines
common.pro
Produced by IDLdoc 2.0.