Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

external/CDAWlib/

timeaxis_text.pro


NAME: TIMEAXIS_text PURPOSE: Plot a time axis. CATEGORY: CALLING SEQUENCE: timeaxis_text, [t] INPUTS: t = optional array of seconds after midnight. in KEYWORD PARAMETERS: Keywords: JD=jd Set Julian Day number of reference date. FORM=f Set axis label format string, over-rides default. do help,dt_tm_mak(/help) to get formats. For multi-line labels use @ as line delimiter. NTICKS=n Set approximate number of desired ticks (def=6). TITLE=txt Time axis title (def=none). TRANGE=[tmin,tmax] Set specified time range. YVALUE=Y Y coordinate of time axis (def=bottom). TICKLEN=t Set tick length as % of yrange (def=5). /NOLABELS means suppress tick labels. /NOYEAR drops year from automatically formatted labels. Doesn't apply to user specified formats. LABELOFFSET=off Set label Y offset as % yrange (def=0). Allows label vertical position adjustment. DY=d Set line spacing factor for multiline labels (def=1). COLOR=c Axis color. CHARSIZE=s Axis text size. CHARTHICK=cth thickness of label text (def=1). THICK=thk thickness of axes and ticks (def=1). MAJOR=g Linestyle for an optional major tick grid. MINOR=g2 Linestyle for an optional minor tick grid. NOTIME = if set, do not display time label PLABELOFFSET = offset label by this number of pixels Will supersede 'labeloffset' keyword. ONLYLABEL = if set, will display label only, no axis, no tick marks. AddInfo=addInfor Array of additional data to be displayed under ticks AddFormat=addFormat Array of format strings for additional data AddLabel=addLabel Array of strings to put in front of first tick info Add_ds=Add_ds Array of strings to put after the last tick on each line for BIGPLOT=bigplot added to allow some special settings for the large CDAWeb inventory plots. OUTPUTS: COMMON BLOCKS: NOTES: Notes: To use do the following: plot, t, y, xstyle=4 timeaxis_text If no arguments are given to TIMEAXIS_text then an axis will be drawn based on the last plot, if any. Try DY=1.5 for PS fonts. MODIFICATION HISTORY: R. Sterner, 25 Feb, 1991 R. Sterner, 26 Jun, 1991 --- made nticks=0 give default ticks. R. Sterner, 18 Nov, 1991 --- allowed Log Y axes. R. Sterner, 11 Dec, 1992 --- added /NOLABELS. R. Sterner, 20 May, 1993 --- Made date labeling (jd2mdays). Allowed CHARSIZE for SIZE. Robert.M.Candey.1@gsfc.nasa.gov, 22 Sept 1993; added addInfo and addFormat to put data under the times under the tick marks R. Candey, 23 Jun 1995; updated latest version of timeaxis Copyright (C) 1991, Johns Hopkins University/Applied Physics Laboratory This software may be used, copied, or redistributed as long as it is not sold and this copyright notice is reproduced on each copy made. This routine is provided as is without any express or implied warranties whatsoever. Other limitations apply as described in the file disclaimer.txt.

Routines

top source timeaxis_text

timeaxis_text, t, jd=jd, form=form, nticks=nticks, yvalue=yvalue, trange=trange, color=color, size=size, help=help, ticklen=ticklen, labeloffset=labeloffset, dy=dy, title=title, major=major, minor=minor, charthick=charthick, thick=thick, nolabels=nolabels, noyear=noyear, notime=notime, charsize=charsize, plabeloffset=plabeloffset, onlylabel=onlylabel, addInfo=addInfo, addFormat=addFormat, addLabel=addLabel, Add_ds=Add_ds, BIGPLOT=BIGPLOT, FIVEYEAR=FIVEYEAR

Parameters

t

Keywords

jd
form
nticks
yvalue
trange
color
size
help
ticklen
labeloffset
dy
title
major
minor
charthick
thick
nolabels
noyear
notime
charsize
plabeloffset
onlylabel
addInfo
addFormat
addLabel
Add_ds
BIGPLOT
FIVEYEAR

File attributes

Modification date: Tue Oct 21 13:53:48 2014
Lines: 255