Download   Help   Documents   Contact   Links   OceanColor   News   FAQ   Forum 

Seadisp Gridline Function (grid)

Description:Add graphic gridlines and/or grid labels to the specified or current seadisp window.

[Interactive Mode][Command Mode]


Command Mode :

Usage:grid, fbuf=fbuf, merge_mode=merge_mode, no_grid=no_grid, grdcol=grdcol, glinestyle=glinestyle, glinethick=glinethick, latdel=latdel, londel=londel, latsamp=latsamp, lonsamp=lonsamp, label=label, lblcol=lblcol, latlab=latlab, lonlab=lonlab, latalign=latalign, lonalign=lonalign, fonttype=fonttype, fontname=fontname, charsize=charsize, charthick=charthick

General keywords:
fbuf Seadisp window number (default is current window).
merge_mode  0 = replace all current bitmap graphics with this grid
1 = overlay on top of any existing bitmap graphics (Default)
2 = underlay grid under any existing bitmap graphics
3 = erase all bitmap graphics, redraw coastline and overlay this grid

Gridline keywords:
For all navigable file types
no_grid 0 = gridlines on (Default)
Non-zero = gridlines off 
grdcol gridline color (1 to 7 SeaDAS graphics colors).  (Default=1)
glinestyle 0 = solid (Default)
1=dotted
2=dashes
3=dash-dot
4=dash 3 dot
5=long dashes
glinethick Line thickness.  1 to 10. (Default=1)
latdel Spacing in degrees between latitude grid lines. (Default is calculated).
londel Spacing in degrees between longitude grid lines. (Default is calculated).
For non-IDL mapped file types
latsamp The sampling rate at which to draw the latitude grid lines. (Default=1)
lonsamp The sampling rate at which to draw the longitude grid lines. (Default=1)
 

Grid Label Keywords:
label 0 = labels off
Non-zero= labels on (Default=1)
lblcol Label color (1 to 7 SeaDAS graphics colors).  (Default=1)
latlab Longitude at which to place the latitude labels.
lonlab Latitude at which to place the longitude labels.
latalign Text alignment of the latitude labels: 0.0=left justify, 0.5=center, 1.0=right justify.
lonalign Text alignment of the longitude labels: 0.0=left justify, 0.5=center, 1.0=right justify.
Font The default font is the default hardware font selected for your widget font or specified by environment variable SDSWFONT.
 
fonttype Specify vector font or hardware font:
  •   0 = Hardware font (Default)
  • -1 = Vector font
fontname Specify font name for either vector or hardware font type.
charsize Specify character size for vector font only (Default=1.0)
charthick Specify character thickness for vector font only (Default=1)


Interactive Mode:

Description:  The Gridline Setup Widget provides an interface for the gridline options.  Selecting Setups->Gridlines within the Seadisp Display Window Widget will bring up the Gridline Setup Widget.  Some of the defaults (such as gridline spacing) are set on an image-by-image basis. You do not need to use the setup widget in order to overlay default gridlines.  Simply select Functions->Grid.

Action items:

Grid Line Options:
Draw Grid Lines A toggle specifying whether or not to put on gridlines at all. (i.e., just the labels could be put on)
Grid Color The graphics color of the grid lines.
Mod Bring up the widget to allow modification of the graphics color hues.  Once modified, the changes will apply to all currently displayed images.
Latitude Grid The increment in degrees for your latitude gridlines.
Longitude Grid The increment in degrees for your longitude gridlines.
Samples Per Grid The number of points to fix between latitude and longitude gridlines, in order to draw the gridlines.  This option is useful for input data which are geographically warped. (Default=0). (This option is available for all navigable files except SeaDAS mapped files.)
Reset Default Reset the default increments to the originally calculated defaults.
Line Thickness The line thickness of the grid lines.
Line Style The line style of the grid lines (solid, dots, dashes, dash-dot, dash 3 dots, long dash)

Curator: OceanColor Webmaster

Authorized by: gene carl feldman
Privacy Policy and Important Notices

Updated: Thursday, 20-Mar-2008 16:33:11 EDT
NASA logo