How to put an image behind a UIAxes in App Designer?

34 ビュー (過去 30 日間)
Daniel Martínez
Daniel Martínez 2021 年 8 月 24 日
編集済み: Anshika Chourasia 2021 年 9 月 8 日
I'm new to Matlab, I'm trying to put an image behind a UIAxes component in App Designer, but when I reorder the image component, the UIAxes component keeps the position behind the image. This image better describes my problem.
Any help is appreciated.

回答 (1 件)

Anshika Chourasia
Anshika Chourasia 2021 年 9 月 8 日
編集済み: Anshika Chourasia 2021 年 9 月 8 日
The reason for such behavior is because axes and other graphics objects cannot stack in front of UI components and containers. They appear behind UI components and containers.
You can work around this restriction by grouping axes and graphics objects into separate containers. Then by organizing the containers you can stack them in the desired order.
Please refer the following documentation for more information: Lay Out a UI Programmatically - MATLAB & Simulink (mathworks.com)

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by