Univeristy of Alabama in Huntsville

UAH LTG IDL Library

IDL Routines from Phillip Bitzer and UAH Lightning Group

summary     class     fields     routine details     file attributes

misc/plotting/

mapprojection__pmbgrid.pro

Misc, Plotting, Map


The default mapgrid for a map object can be distracting, with labels in the center of the plot, solid grid lines, etc. This method, associate with a map object (really, with a mapprojection object) deletes the current mapgrid and adds a new one with the following properties:

linestyle : 'dashed' label_position : 0 label_angle : 0 box_axes : 1
Current modification will delete all mapgrids associated with the object (right now, just the "main" one will be deleted).

Examples

Create a basic map:

m = Map('Mercator')
Add some continents:
mc = MapContinents()
Improve the map's grid:
m.pmbgrid

Author information

Author

Phillip M. Bitzer, University of Alabama in Huntsville, pm.bitzer "AT" uah.edu

History

See Git log.

Other file information

Uses:

None, external

Class description for mapprojection

Inheritance

All ancestor classes: GRAPHIC IDL_OBJECT

Routines

Methods inherited from GRAPHIC

top mapprojection::pmbgrid

mapprojection::pmbgrid [, /Both]

Deletes the current mapgrid associated with a map and adds a new one.

Keywords

Both in optional type=boolean

If set, two mapgrids are drawn. One is the default, with labels along the left/bottom. The other is just labels along the right/top.

Other attributes

Uses:

None, external

File attributes

Modification date: Fri Nov 10 15:10:59 2017
Lines: 12
Docformat: rst rst