L4_LAT_ALT_DISP
Name
L4_LAT_ALT_DISP
Purpose
This routine displays one day of L4-formatted data at a time. This
means you create an array however you want that is analagous to
the L4 data, and then pass it to this procedure for display
Category
SNOE, image
Calling Sequence
L4_LAT_ALT_DISP, Data
Inputs
DATA: An array, FLTARR( 37, 28 )
This is the size of the DATA section of L4 (not bookkeepping)
Optional Inputs
none
Keyword Parameters
LV: The large value of the data [ !SNOE.f.l4_lv ]
SV: The small value of the data [ lv / 20. ] used with /LOG only
PS: Set this keyword to produce a POSTSCRIPT image
LOG: Set this if the log of the data should be imaged
MASK: Set this to mask out part of the data (PMCs)
SUBTITLE: A subtitle (in the image) to display
EXTRA=e is used for:
IMDISP: (INTERP, OUT_POS, etc. )
DEVICE: (FILENAME, BITS_PER_PIXEL, PORTRAIT, LANDSCAPE, etc. )
others...
Outputs
An image, or a PS file
Side Effects
Uses the PS device if /PS set. Uses the current WINDOW
Restrictions
Must be in a L4-type array (data, not bookkeeping)
Example
To generate an image:
L4_lat_alt_disp, data
L4_lat_alt_disp, data, /LOG, /PS, /INTERP, FILENAME='foo.ps'
DATA:
openr, lun, 'NO_2_day_geo.dat', /GET
data = assoc( lun, !SNOE.f.l4 )
data = data[ 9 ] ; day 1998079
data = data[ 0:36, 0:27 ] ; trim off bookkeepping
Modification History
Written by: KDM; 2002-08-10
2002-08-29; KDM; Fixed Altitude scale error. Made tickv
exact. Fixed title (cm^3, not cm-3).
Added PS. Now uses FILE_UNIQ()