catch UIAxes in figure
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how catch UIAxes in new figure?
figure;
0 Commenti
Risposta accettata
Angelo Yeo
il 11 Ott 2023
fig = uifigure;
ax = uiaxes(fig);
1 Commento
Adam Danz
il 11 Ott 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Develop uifigure-Based Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!