How to put an axes into the foreground layer in GUI (made by GUIDE)?

6 ビュー (過去 30 日間)
Csaba
Csaba 2018 年 5 月 10 日
コメント済み: Csaba 2018 年 5 月 25 日
I have a GUI with several axes defined. When running the program I would like to select an axes and enlarge or move it inside the figure window. I can do it with the selection tool. However the layer position of individual axes depend on the order defined in the GUIDE, when I was designing the figure window. I cannot change it when the program is running. So the axes is enlarged behind another axes, and therefore they are not visible properly.
How to put axes into foreground when I am running the program?

回答 (2 件)

Walter Roberson
Walter Roberson 2018 年 5 月 10 日
uistack() works on axes.
  13 件のコメント
Walter Roberson
Walter Roberson 2018 年 5 月 16 日
I do not know at the moment if you can resize objects in App Designer. The question at hand is whether you can use plotedit with App Designer, as you are locked into using plotedit in your workflow.
Csaba
Csaba 2018 年 5 月 16 日
What I really want is to select an axes from many in a figure and resize it. plotedit is just a tool for resizing. And, of course, I want to put it in the foreground because otherwise you cannot see what you just made bigger because it is hidden below other axes.
So any solutions are welcome. I am not locked to plotedit.

サインインしてコメントする。


Jan
Jan 2018 年 5 月 17 日
What about FEX: axisshift? This would avoid the limitations of plotedit.
  2 件のコメント
Csaba
Csaba 2018 年 5 月 23 日
Thanks, I will check!
Csaba
Csaba 2018 年 5 月 25 日
OK, I have checked axshift. As it is, it is not very good, i.e. in some cases (i.e. when I click to a subplot) it flickers, I have to use the figure(x) figure, but not the GUIDE figure, in order to resize the subplot, I need to go to a right click menu.
Still the best would be a "send to back", "send to front" kind of right click command in plotedit.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpecifying Target for Graphics Output についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by