QDCB_GRID
Name
QDCB_GRID
Purpose
Produce an overlay of latitude and longitude lines over a plot or image
Explanation
Grid is plotted on the current graphics device assuming that the
current plot is a map in the so called quad cube projection. The
output plot range is assumed to go from 7.0 to -1.0 on the X axis and
-3.0 to 3.0 on the Y axis. Within this plotting space, the quad cube
faces are laid out as follows (X=Empty, Astronomical Layout shown -
X axis can be swapped for geographic maps):
3.0_
XXX0
4321
-3.0_XXX5
| |
7.0 -1.0
Category
Mapping Support Routine
Calling Sequence
QDCB_GRID,[,DLONG,DLAT,[LINESTYLE=N,/LABELS]
Input Parameters
DLONG = Optional input longitude line spacing in degrees. If left
out, defaults to 30.
DLAT = Optional input lattitude line spacing in degrees. If left
out, defaults to 30.
OPTIONAL KEYWORD PARAMETERS:
LINESTYLE = Optional input integer specifying the linestyle to
use for drawing the grid lines.
LABELS = Optional keyword specifying that the lattitude and
longitude lines on the prime meridian and the
equator should be labeled in degrees. If LABELS is
given a value of 2, i.e. LABELS=2, then the longitude
labels will be in hours and minutes instead of
degrees.
Output Parameters
NONE
Procedure
Uses WCSSPH2XY.PRO with projection 23 ("QSC" - COBE Quadrilatieralized
Spherical Cube) to compute positions of grid lines and labels.
Copyright Notice
Copyright 1991, The Regents of the University of California. This
software was produced under U.S. Government contract (W-7405-ENG-36)
by Los Alamos National Laboratory, which is operated by the
University of California for the U.S. Department of Energy.
The U.S. Government is licensed to use, reproduce, and distribute
this software. Neither the Government nor the University makes
any warranty, express or implied, or assumes any liability or
responsibility for the use of this software.
Author
Jeff Bloch
Modifications/revision Level
%I% %G%
Use WCSSPH2XY instead of QDCB Wayne Landsman December 1994
Converted to IDL V5.0 W. Landsman September 1997