フィルターのクリア

catch UIAxes in figure

7 ビュー (過去 30 日間)
aldo
aldo 2023 年 10 月 11 日
コメント済み: Adam Danz 2023 年 10 月 11 日
how catch UIAxes in new figure?
figure;

採用された回答

Angelo Yeo
Angelo Yeo 2023 年 10 月 11 日
Use uifigure instead of a generic figure.
fig = uifigure;
ax = uiaxes(fig);
  1 件のコメント
Adam Danz
Adam Danz 2023 年 10 月 11 日
The key is to specify the figure handle as @Angelo Yeo demonstrated above. You can use figure or uifigure but in uifigures the HandleVisibility property is off by default so if you call axes() or uiaxes() without specifying the figure handle, the axes will go into a new figure.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by