필터 지우기
필터 지우기

Appdesigner: Multiple layers - Hide an axis and access one underneath.

조회 수: 2 (최근 30일)
I am trying to set-up two small axes and then a larger one over the top of them. Ideally, when I press a button, I would be able to switch between the two views (the two small axes or the one large axis).
The only way I have been able to find to do this so far, is to create a graph, delete it when I don't need it and then re-create it later on.
I tried using the 'Visible' option, but that just leaves a grey square over ther area and so it is not really invisible, as it obscures the underlying image (axis).
Is there a better/easier way to accomplish this, please ?

채택된 답변

Marco Frieslaar
Marco Frieslaar 2018년 10월 3일
Not to worry, I have found my own answer.
I have played around with the 'Position' of the plot and set it to [0 0 0 0] when I want it to vanish and then back to the original position settings when I want it to re-appear.
In effect, it is always present, it just becomes really, really tiny when I want it to disappear.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by