Create chart with two y-axes
yyaxis
activates
the side of the current axes associated with the left y-axis.
Subsequent graphics commands target the left side. If the current
axes do not include two y-axes, then this command
adds a second y-axis. If there are no axes, then
this command first creates them.left
yyaxis
activates
the side of the current axes associated with the right y-axis.
Subsequent graphics commands target the right side. If the current
axes do not include two y-axes, then this command
adds a second y-axis. If there are no axes, then
this command first creates them.right
When working with two y-axes, you cannot:
Rotate the axes (2-D view only).
Pin annotations.
Copy the axes object using copyobj
.
Grid lines correspond with the tick mark locations along the left y-axis.