Skip to content

yysplit

Split an axes by adding a secondary y-axis.

yysplit(h)

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.

yysplit(gca)
  • plotyy — Plot two data sets on different left and right y-axes.
  • splitaxes — Split a multi-graph axes into overlay axes (one per graph).