example
TD:PLOT AXES X FROM 1 TO 10 BY 2
or...
TD:PLOT AXES X FROM 1 BY 2 N=5
Draws ticks at 1,3,5,7, and 9.
GRID
If specified without the option AXES then a GRID is plotted. The
grid must be ON to be plotted. See SET GRID. If AXES is specified,
then both are plotted if the GRID is ON. Grid lines or symbols are
plotted only for long ticks.
example
TD:SET GRID ON
TD:PLOT AXES Y 0 X 2,4,6,8 ticks 1,3,5,7,9
The grid is plotted at ticks 2,4,6,8 on the X and 0 on the Y. An
axes is also plotted with labels at X=2,4,6,8 Y=0, and short ticks at
X=1,3,5,7,9.
TD:PLOT GRID Y 0 X 2,4,6,8
Only a grid is plotted.
HIDE
Controls whether hidden lines are drawn for a 3-d axes and grid.
HIDE=OFF draws the hidden lines, while HIDE=ON omits them. This
assumes that the axes are drawn in the normal position behind the
plot. It may not work properly for other positions. You must
specify which axes are to be plotted.
(Default:HIDE=OFF)
example
For example histogram a mesh with hidden axes:
TD:HISTOGRAM ( Hist mesh data)
TD:PLOT AXES X Y Z HIDE ( Now plot only visible portion of axes)
TOP...
Produces only a single axes at the TOP according to n1,n2.... You
may also produce the axes to the LEFT,RIGHT, or BOTTOM. For 1-d plot
X produces both TOP and BOTTOM axes, Y produces both LEFT and RIGHT,
while Z produces only TOP. On 3-d plots they produce X,Y, or Z axes.
The axes are not produced if disabled by the SET AXES command.
After this option the tick values are assumed to be LABELS LONG.
LABEL|TICK
LABEL selects long ticks with labels. TICKS selects short ticks
without labels. Labels or ticks are not produced if disabled by the
SET LABELS or SET TICKS command.
LIMITED
If this option is used it may be used to specify the length of the
axis, with respect to the data.
LONG|SHORT
Selects either long or short ticks. This must be used after the
LABEL or TICK command it modifies.
FORMATS...
These determine the number format. They are analogous to FORTRAN
formats.
1. FFORMAT - Numbers are written as nn.nnn or nn The number of
digits to the right or left of the decimal point is
determined by the data. All labels for a selected axis are
written with the same number of digits to the right of the
decimal point.
2. GFORMAT - Numbers are written as either F or E format
depending on the range. For example if you specify labels
from 0 to 1 by .25 they are written as. 0,0.25,0.5,1
3. EFORMAT - Labels are written as n.nn with an exponent power
of 10.
4. YEARS - Only the year is written
5. MONTHS - The month is written
6. DAYS - The day of the month is written
7. TIME - The time is written.
8. DATE - The date is written in the format dd-mmm-yyyy.
(Default:GFORMAT)
NOTE
If the format is not G,F,or E then SMALL ticks are not reproduced for
labels. This allows you to place the label in any location without
any ticks.
n1...
These select the tick/label locations. If omitted then a set of
default ticks and labels are chosen. These are selected according to
the SET LABELS and SET TICKS commands.
restrictions
You may not specify more than 200 total ticks at one time. If you
need more than 200 ticks you need to plot AXES several times.
example
TD:PLOT AXES X FROM 1 TO 10 by 0.002
generates 500 ticks, and is not allowed.
examples
example TD:PLOT AXES Plot all axes with the current defaults. TD:PLOT AXES X Produces default TOP and BOTTOM axes. TD:PLOT AXES X LABELS 1,2,3,4 TICKS 1.5,2.5,3.5 Produces labels at 1,2.. and short ticks at 1.5,... TD:PLOT AXES RIGHT EFORMAT LABELS 1,2,3,4 TICKS LONG 1.5,2.5,3.5 Produces the same labels, but in exponential format with long ticks in between the labels. TD:PLOT AXES BOTTOM LABELS 1,2,3 TOP 1.5,2.5 Produces labels with long ticks on the top and bottom of the plot. The labels are at different locations. TD:PLOT AXES X LIMITED FROM X=1 Y=5 TO X=11 LABELS 1,5,11 This plots an X axis from X=1 to 11 Y=5 with labeled ticks at 1,5,11.