Is it possible to stack axes of different plots in the same figure?

2 Ansichten (letzte 30 Tage)
Hi, I am trying to plot some data in Matlab, where the various y axes appear to be sort of stacked on top of eachother, each having its own independent scale. Is there an option to do this?

Akzeptierte Antwort

Andreas Mittnacht
Andreas Mittnacht am 14 Jul. 2021
Yes, it is possible.
  1. Create a figure like f=figure()
  2. Use figure as parent and create as many axis you need and customize their size and position

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by