catch UIAxes in figure
4 views (last 30 days)
Show older comments
how catch UIAxes in new figure?
figure;
0 Comments
Accepted Answer
Angelo Yeo
on 11 Oct 2023
fig = uifigure;
ax = uiaxes(fig);
1 Comment
Adam Danz
on 11 Oct 2023
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.
More Answers (0)
See Also
Categories
Find more on Develop uifigure-Based Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!