<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/GRILLE/

tracegrille.pro

Draw the grid

toptracegrille 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 ystride 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 378 2008-08-12 12:35:46Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr)

Other attributes

Uses routines

Statistics

McCabe cyclic 34
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.