catch UIAxes in figure
2 次查看(过去 30 天)
显示 更早的评论
how catch UIAxes in new figure?
figure;
0 个评论
采纳的回答
Angelo Yeo
2023-10-11
fig = uifigure;
ax = uiaxes(fig);
1 个评论
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 Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!