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

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
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 2021년 1월 26일
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?
@Sharare the y-axes are not affected by zooming in stackedplot.

댓글을 달려면 로그인하십시오.

답변 (1개)

Adam Danz
Adam Danz 2020년 11월 19일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Data Exploration에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2020년 2월 7일

댓글:

2021년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by