DADiSP Worksheet Functions > Function Categories > Plot Attributes > SEMILOGX

 

SEMILOGX

Purpose:

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

Syntax:

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

WN

-

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

mode

-

Optional. An integer, the X log scale mode:

0:

Linear axis

1:

Log X axis, 10N values (default)

2:

Log X axis, linear values

Returns:

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

Example:

W1: grand(1000, 1);semilogx

 

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

Example:

W1: grand(100, 1)

W2: integ(W1)

W3: integ(W2)

W4: integ(W3)

 

semilogx(W1..W4)

 

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

Example:

W1: grand(100, 1)

W2: integ(W1)

W3: integ(W2)

W4: integ(W3)

 

semilogx(W1..W4, 2)

 

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

Example:

semilogx(W1..W4, 0)

 

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

Remarks:

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

See Also:

LOGLOG

SEMILOGY

SETXLOG

SETYLOG

XSUBTIC