send image to background to visible axes

7 views (last 30 days)
Asma
Asma on 6 Feb 2025
Commented: Voss on 10 Feb 2025
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??

Answers (1)

Voss
Voss on 6 Feb 2025
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 Comments
Asma
Asma on 10 Feb 2025
Thank you i tried panel and it was exactly the one I needed. :)
Voss
Voss on 10 Feb 2025
You're welcome! Any other questions, let me know. Otherwise, please "Accept" this answer. Thanks!

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!