- NAME
TICLABELS
- PURPOSE
Create tic labels for labeling astronomical images.
- EXPLANATION
Used to display images with right ascension or declination
axes. This routine creates labels for already determined tic
marks (every other tic mark by default)
- CALLING SEQUENCE
TICLABELS, minval, numtics, incr, ticlabs, [ RA = ,DELTA = ]
- INPUTS
minval - minimum value for labels (degrees)
numtics - number of tic marks
incr - increment in minutes for labels
- OUTPUTS
ticlabs - array of charater string labels
- OPTIONAL INPUT KEYWORDS
/RA - if this keyword is set then the grid axis is assumed to be
a Right Ascension. Otherwise a declination axis is assumed
DELTA - Scalar specifying spacing of labels. The default is
DELTA = 2 which means that a label is made for every other tic
mark. Set DELTA=1 to create a label for every tic mark.
ONT - scalar font graphics keyword (-1,0 or 1) for text
- PROCEDURES USED
RADEC
- RESTRICTIONS
Invalid for wide field (> 2 degree) images since it assumes that a
fixed interval in Y (or X) corresponds to a fixed interval in Dec
(or RA)
- REVISON HISTORY
written by B. Pfarr, 4/15/87
Added DELTA keywrd for compatibility with IMCONTOUR W. Landsman Nov 1991
Added nicer hms and dms symbols when using native PS fonts Deutsch 11/92
Added Patch for bug in IDL <2.4.0 as explained in NOTES E. Deutsch 11/92
Fix when crossing 0 dec or 24h RA
Fix DELTA keyword so that it behaves according to the documentation
W. Landsman Hughes STX, Nov 95
llow sub arcsecond formatting W. Landsman May 2000
etter formatting for non-unity DELTA values W. Landsman July 2004
llow FONT keyword to be passed. T. Robishaw Apr. 2006
rite 0h rather than 24h W. L. August 2008
ix problem when tic values is exactly 0 degrees Mar 2012
nly modulo 24 when /RA is set WL. October 2012