catch UIAxes in figure
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how catch UIAxes in new figure?
figure;
0 commentaires
Réponse acceptée
Angelo Yeo
le 11 Oct 2023
fig = uifigure;
ax = uiaxes(fig);
1 commentaire
Adam Danz
le 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop uifigure-Based Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!