FUNCTION REFERENCE

xtickangle

Set or query x axis tick label rotation angle in degrees.

Set or query x axis tick label rotation angle in degrees.

Syntax

xtickangle(angle)

Syntax

a = xtickangle

Syntax

xtickangle(ax, ...)

Rotates the x-axis tick labels counter-clockwise by angle degrees.

Example

plot(1:5); xtickangle(45); a = xtickangle   % 45

Differences from MATLAB: Simple rotation about the label anchor.

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