send image to background to visible axes

5 次查看(过去 30 天)
I have a picture in appdesigner and I put some buttons on it. By pressing the buttons I want a plot is shown. However the plot axes is behind the picture and not visible. How can I move the image to background when the button is pressed and the plot will be shown??

回答(1 个)

Voss
Voss 2025-2-6
axes and uiaxes objects always appear behind other UI components including uiimages, so there is no way to move the uiimage behind the axes.
Perhaps one way to achieve the effect you want is to use an image object (which exists in the axes) instead of a uiimage object.
  4 个评论
Asma
Asma 2025-2-10
Thank you i tried panel and it was exactly the one I needed. :)
Voss
Voss 2025-2-10
You're welcome! Any other questions, let me know. Otherwise, please "Accept" this answer. Thanks!

请先登录,再进行评论。

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by