DADiSP Worksheet Functions > Function Categories > Plot Attributes > SETYLOG
Turns log scales On/Off for the Y axis of a Window.
SETYLOG(win, mode, subtic, powtic)
win |
- |
Optional. A window, defaults to the current window. |
||||
mode |
- |
Optional. An integer, the Y log scale mode:
If not specified, returns the current setting. |
||||
subtic |
- |
Optional. An integer, label subtic values:
|
||||
powtic |
- |
Optional. An integer, log tic format:
|
Nothing, the Y axis is set to log Y scales or unset to linear Y scales.
If no integer arguments are specified, returns the current Y log axis setting.
setylog(1)
turns on Y axis log scaling.
setylog(1, 1)
turns on Y axis log scaling with labeled sub-tics.
setylog(0)
turns off Y axis log scaling.
W1: (1..1000)^2;setylog(1, 0, 1);gridhv
Creates a quadratic series ranging 1 to 10e6 and displays the series with a log Y axis labeled using
SETYLOG with no arguments returns the current Y log axis setting.
See SEMILOGY to set the Y axis to log scales and the X axis to linear scales.