why invisible panel is visible while printing?

Hi,
I have 2 panels in my GUI overlapping each other, visibility of one of them is set to 'off', however when I print the figure both panels are visible. My code:
function Print_Callback(hObject, eventdata, handles)
% hObject handle to Print (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
orient landscape
printpreview(gcf)
printdlg(gcf);
Any ideas appreciated.
Thanks,
Dominika

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Jul. de 2014

Respondida:

el 25 de Jul. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by