print figure shows hidden objects
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a gui that I created without using guide. There are various configurations, and I switch between them by hiding gui elements. This works great up until the user tries to do a screen print, where this piece of code from "prepare.m" is invoked by the "print" function:
%Need to see everything when printing hiddenH = get( 0, 'showhiddenhandles' ); set( 0, 'showhiddenhandles', 'on' )
Not clear why we need to see everything when printing, makes no sense to me. If I want to show the hidden handles, I'd make them visible. Any suggestions?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (3)
Jan
am 4 Apr. 2011
"set(0, 'showhiddenhandles', 'on')" does not make anything visible. It allows to include the handles a.g. when getting the children of an HG-object. See also:
docsearch ShowHiddenHandles
docsearch HandleVisibility
What problems do occur when printing?
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!