Skip to content

splitaxes

Split a multi-graph axes into overlay axes (one per graph).

splitaxes(h)

Converts an axes containing multiple graphs into an overlay of N y-axes sharing one x-axis — each graph gets its own auto-scaled y-axis. Useful when graphs have very different value ranges. Reverse with Plot → Recombine Graphs.

MathJet-specific (see Reference > Visualization > Chart and axis splitting).

splitaxes(gca)
  • yysplit — Split an axes by adding a secondary y-axis.
  • layoutaxes — Configure the axes layout on a chart sheet.