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

Catégories

En savoir plus sur Read, Write, and Modify Image dans Centre d'aide et File Exchange

Question posée :

le 24 Juil 2014

Community Treasure Hunt

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

Start Hunting!

Translated by