DADiSP Worksheet Functions > Function Categories > Plot Attributes > SETXTIC
Sets the tic spacing on the x-axis.
SETXTIC(win, xtic)
win |
- |
Optional. Window reference. Defaults to the current Window. |
xtic |
- |
A real, the desired X tic interval. |
setxtic(.01)
sets the x tic interval on the current Window to 0.01.
setxtic
sets the tic intervals of the current Window to the default values.
The GETXTIC and GETYTIC functions return the current tic intervals.
setxtic((W2), getxtic(W1))
sets the tic interval of W2 to the interval of W1.
W1: gnorm(10000, 1);setxlog(1, 0, 1);setxtic(2)
The data in W1 is plotted on a log X scale. The X tic interval is set to 2 decades.
If the tic interval is negative or not specified, the tic intervals are scaled automatically.
For a plot with a log X axis, the xtic interval refers to decades, i.e. 10xtic.