Zooming and linking axes when using 'stackedplot'

Is it possible to use the interactive zoom function with a stacked plot?
Is it possible to link subplot axes when using stacked plots?

4 comentarios

Allison Bradley
Allison Bradley el 20 de Mzo. de 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 el 15 de Jun. de 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.
Sharare
Sharare el 26 de En. de 2021
But as I was using the mouse wheel, it was just x axis that got zoomed in, not y axis; I'm wondering why... I mean I expect the y limits get updated after each zoom event, don't they?
Adam Danz
Adam Danz el 26 de En. de 2021
@Sharare the y-axes are not affected by zooming in stackedplot.

Iniciar sesión para comentar.

Respuestas (1)

Adam Danz
Adam Danz el 19 de Nov. de 2020

0 votos

>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.

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Preguntada:

el 7 de Feb. de 2020

Comentada:

el 26 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by