external/CDAWlib/
axlabel.pro
NAME: AXLABEL PURPOSE: Put previously calculated axis labels onto the screen at proper position. This routine was designed to work together with LOGLEVELS to produce fancy log plots. It involves several coordinate transformations in order to be device independent and take into account the character size. The user can specify a label format and use 'external' formatting functions similar to the [XYZ]TICKFORMAT keyword of PLOT. CATEGORY: Plotting CALLING SEQUENCE: AXLABEL,Value [,/XAxis] [,keywords] INPUTS: VALUE -> A vector with the values to be labelled on the axis. KEYWORD PARAMETERS: /XAxis -> If set, the labels are placed on the X achis rather than on the Y axis /YAxis -> Place the labels on the Y axis (this is the default, and this keyword is there for purely aesthetic reasons) CHARSIZE -> The character size of the label FORMAT -> An IDL format string (used as argument to the STRING function) or the name of a function that returns formatted labels. This function must accept three arguments, the third of which is the current value (see the online help to [XYZ]TICKFORMAT for more details). AXLABEL always passes 0 to the first two arguments. _EXTRA keywords are passed on to XYOUTS (e.g. COLOR or ORIENTATION). Note that the ALIGN keyword value is determined automatically. OUTPUTS: Axis labels without fuss. SUBROUTINES: None. REQUIREMENTS: A DATA coordinate system must be established by a previous PLOT command. NOTES: AXLABEL currently operates only on the left and bottom axes. EXAMPLE: MODIFICATION HISTORY: mgs, 10 Sep 1999: VERSION 1.00
Routines
File attributes
Modification date: | Thu Feb 13 16:41:56 2014 |
Lines: | 36 |