ysecondarylabel
Syntax
Description
ysecondarylabel(
displays the specified
text label as a secondary label on the y-axis of the current axes. If the
y-axis already has a secondary label, the specified label replaces
it.label
)
ysecondarylabel(Visible="off")
hides the secondary label. You can
specify the value of Visible
as false
or
0
to produce the same result. For example,
ysecondarylabel(Visible=0)
also hides the label.
ysecondarylabel(Visible="on")
displays the secondary label. You can
specify the value of Visible
as true
or
1
to produce the same result. For example,
ysecondarylabel(Visible=true)
also displays the label. This syntax has
no effect when the label is empty.
ysecondarylabel(
resets the secondary
label to its automatic state, which displays a secondary label in some cases. For example, a
secondary label might automatically appear when you plot datetime values or very large
numbers."auto"
)
Examples
Input Arguments
Version History
Introduced in R2023b