LONTV
Name
LONTV
Purpose
Fix a lat/lon grid that you want to map on a globe with
MAP_PATCH or MAP_IMAGE so it works with IDLs buggy routines
Category
SNOE, Imaging, Map
Calling Sequence
Result = LONTV( Array )
Inputs
Array: An array of any size, where the X dimension is
longitude, and Y is data
Outputs
The array is returned with the first column duplicated as the
last column.
Example
test = REBIN( BYTSCL( BINDGEN(15) ), 15, 2 )
tv, map_image( test, bilinear=0 )
;;; The max color is 1/2 as wide as all the rest!
tv, map_image( lontv(test), bilinear=0 )
Modification History
Written by: Barth
2002-09-25: Added docs