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

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Jul. 2014

Beantwortet:

am 25 Jul. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by