yysplit
Split an axes by adding a secondary y-axis.
Syntax
Section titled “Syntax”yysplit(h)Description
Section titled “Description”Converts the axes into a dual-y-axis plot — left and right y-axes share the x-axis. Same effect as creating with plotyy but applied to existing axes.
MathJet-specific.
Example
Section titled “Example”yysplit(gca)