Min_valid=minvalid, max_valid=maxvalid, $ TVMAP, data, LON, LAT, /cbar, /continents, /sample, $īotOutOfRange = BOOR, TopOutOfRange=TOOR, Triangle=triangle, $ UNDEFINE, minvalid, maxvalid, toor, boor, triangle TOOR = keyword_set( toori ) ? toori : !myct.bottom+!myct.ncolors Minvalid = range & maxvalid = range & triangle = 1īOOR = keyword_set( boori ) ? boori : !myct.bottom
PRO WRAP_TVMAP, data, lon, lat, range, BOOR=BOORi, TOOR=TOORi, _extra=e Here is a wrapper that automatically add a triangle if, and only if, there is out of range data:
TVMAP, DATA, BOTOUTOFRANGE=-17, MIN_VALID=5., /CBAR, /SAMPLE White is available as index 0 and 17 with the standard set of colors of Gamap !M圜T. Tip: To denote out-of-range data with WHITE, but without a box or triangle in the colorbar, you must use the color index -17. TVMAP, DATA, BOTOUTOFRANGE=-2, MIN_VALID=5., /SAMPLE, /CBAR TVMAP, DATA, BOTOUTOFRANGE=2, MIN_VALID=5., /TRIANGLE, /CBAR TVMAP, DATA, BOTOUTOFRANGE=!ay50, MIN_VALID=5., /SAMPLE, /CBAR Use BotOutOfRange (TopOutOfRange) to specify the color for data below MIN_VALID (above MAX_VALID): With a Triangle instead of a box TVMAP, DATA, MIN_VALID=5., /TRIANGLE, /sample, /CBAR TVMAP, DATA, MIN_VALID=5., /SAMPLE, /CBAR To indicate data below (above) a specific value, use MIN_VALID (MAX_VALID): Out-Of-Range data and Colorbar with a (default) white box Setting LIMIT to 0 is the same as not setting it: The following can be handy in a program, where you sometimes need to set the LIMIT. It is strongly recommended to specify LON and LAT all the time. Note that if you do not pass the LON and LAT associated to DATA, only the map is zoomed. TVMAP, DATA, LON, LAT, /GRID, /CONTINENTS, LIMIT= TVMAP, DATA, LON, LAT, /GRID, /CONTINENTS To zoom, there is no need to cut the data to the window size, just use the LIMIT keyword. This is the same as (showing the implicit lon/lat range associated with the data):
7.2 Modifying TVMAP default map projection.7.1 To get a list of ALL available map projections.6 Control TVMAP settings from CTM_PLOT and/or GAMAP.5.4 Concrete example : plotting the GEOS-Chem grid box with TVMAP.3.5 without any indication in the colorbar.