How to position two figures on one app-designer gridlayout position?

2 次查看(过去 30 天)
I need to overlay two figures on one app-designer gridlayout position. The two figures need to be one on top of the other, with the top figure's axles invisible.
Is it even possible?
  1 个评论
Adam
Adam 2020-2-10
I'm pretty sure you can't have a figure parented by another figure, even with uifigures. You can have multiple axes, but if that is what you mean please try to give more precise details and terminology.

请先登录,再进行评论。

回答(1 个)

Hiro Yoshino
Hiro Yoshino 2020-2-10
app.UIAxes.Visible = 'off';
Try this. It worked with my app where a push botton call this line so it can disappear.
  1 个评论
Leon
Leon 2020-2-10
Many thanks. Sorry for not being clear. What I'm trying to figure out is how to initialize two figures on one gridlayout position.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by