FUNCTION REFERENCE

semilogx

Plot with a logarithmic x axis.

Plot with a logarithmic x axis.

Syntax

semilogx(x, y)

Syntax

semilogx(Z)

The y axis stays linear. A single complex array plots real(Z) against imag(Z).

Example

semilogx([1 10 100], [1 2 3])   % x on log scale

Differences from MATLAB: Properties are trailing name/value pairs such as 'LineWidth', 2.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.