Sets the tic spacing on the y-axis.
SETYTIC(win, ytic)
win |
- |
Optional. Window reference. Defaults to the current Window. |
ytic |
- |
A real, the desired Y tic interval. |
setytic(.01)
sets the y tic interval on the current Window to 0.01.
setytic(-1)
sets the ytic interval of the current Window to the default values.
The GETXTIC and GETYTIC functions return the current tic intervals.
setytic(W3, 0.5*getytic)
shrinks the y-tic interval of W3 by a factor of 2.
W1: abs(gnorm(1000, 1))*10000;setylog(1, 0, 1);setytic(2)
The data in W1 is plotted on a log Y scale. The Y 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 Y axis, the ytic interval refers to decades, i.e. 10ytic.