how to find objects with handlevisibility off?
42 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Noam Greenboim
el 5 de Ag. de 2015
Comentada: Sean de Wolski
el 5 de Ag. de 2015
Here's a tricky question -
How do I find all the objects with HandleVisibility set to off?
get(get(gca,'xlabel'),'HandleVisibility')
ans =
off
but,
findobj(0,'HandleVisibility','off')
ans =
Empty matrix: 0-by-1
It came up after trying to duplicate a figure (it doesn't work when playing with xlabel position, for example)
Any idea (for either one of the issues) will be blessed
0 comentarios
Respuesta aceptada
Sean de Wolski
el 5 de Ag. de 2015
doc findall
doc allchild
2 comentarios
Sean de Wolski
el 5 de Ag. de 2015
This is generally overkill. Handles tend to be hidden for a reason.
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Objects en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!