catch UIAxes in figure
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
aldo
el 11 de Oct. de 2023
Comentada: Adam Danz
el 11 de Oct. de 2023
how catch UIAxes in new figure?
figure;
0 comentarios
Respuesta aceptada
Angelo Yeo
el 11 de Oct. de 2023
fig = uifigure;
ax = uiaxes(fig);
1 comentario
Adam Danz
el 11 de Oct. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!