DADiSP Worksheet Functions > Function Categories > Plot Attributes > SEMILOGY

 

SEMILOGY

Purpose:

Turns the log scales on/off for the Y axis of one or more Windows.

Syntax:

SEMILOGY(W1, W2, ..., WN, mode)

WN

-

Optional. Zero or more windows. Defaults to the current window.

mode

-

Optional. An integer, the Y log scale mode:

0:

Linear axis

1:

Log Y axis, 10N values (default)

2:

Log Y axis, linear values

Returns:

Nothing, the Y axis is set or unset to log Y scales and the X axis is set to linear scales.

Example:

W1: grand(1000, 1);semilogy

 

The series in W1 is displayed with Y log and X linear scales.

Example:

W1: grand(100, 1)

W2: integ(W1)

W3: integ(W2)

W4: integ(W3)

 

semilogy(W1..W4)

 

The series in W1 through W4 are displayed with Y log and X linear scales.

Example:

W1: grand(100, 1)

W2: integ(W1)

W3: integ(W2)

W4: integ(W3)

 

semilogy(W1..W4, 2)

 

Same as above, except the Y axis values are displayed in linear form (1, 10, 100, ...).

Example:

semilogy(W1..W4, 0)

 

Resets the X and Y scales to linear for the series in W1 through W4.

Remarks:

SEMILOGY uses SETXLOG and SETYLOG to set the Y axis to log scales and the X axis to linear scales. By default, the log tic values are displayed in 10N form.

See Also:

LOGLOG

SEMILOGX

SETXLOG

SETYLOG

YSUBTIC