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

2 views (last 30 days)
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?

Accepted Answer

Andreas Mittnacht
Andreas Mittnacht on 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

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!