MATLAB Answers

Zooming and linking axes when using 'stackedplot'

19 views (last 30 days)
James Sutherland
James Sutherland on 7 Feb 2020
Answered: Adam Danz on 19 Nov 2020
Is it possible to use the interactive zoom function with a stacked plot?
Is it possible to link subplot axes when using stacked plots?

  2 Comments

Allison Bradley
Allison Bradley on 20 Mar 2020
I was wondering the same thing, and it looks like the answer is no to both. I'm trying to create a tiled layout instead and link those axes, but theres too much space between the plots
Douglas Alden
Douglas Alden on 15 Jun 2020
You can zoom in using the mouse wheel and the axes will be linked. However, depending on the number of data points in your graph it likely will not be as efficient has being able to interactively select a region to zoom in on.

Sign in to comment.

Answers (1)

Adam Danz
Adam Danz on 19 Nov 2020
>Is it possible to use the interactive zoom function with a stacked plot?
Yes, zoom interaction is on by default in stackedplot as Douglas Alden mentioned above.
>Is it possible to link subplot axes when using stacked plots?
Yes, see this answer.

  0 Comments

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!