ytickangle
Rotate y-axis tick labels
Description
ytickangle(
rotates
the y-axis tick labels for the current axes to
the specified angle in degrees, where angle
)0
is horizontal.
Specify a positive value for counterclockwise rotation or a negative
value for clockwise rotation.
returns
the rotation angle for the y-axis tick labels
of the current axes as a scalar value in degrees. Positive values
indicate counterclockwise rotation. Negative values indicate clockwise
rotation.ang
= ytickangle
uses
the axes specified by ang
= ytickangle(ax
)ax
instead of the current
axes.
Examples
Input Arguments
Algorithms
The ytickangle
function sets and queries the YTickLabelRotation
property of the Axes
object.
Version History
Introduced in R2016b