Why do figures containing uipanels not print properly in MATLAB 7.0 (R14)?

1 view (last 30 days)
When I excute the following code in MATLAB 7.0 (R14),
h = figure;
hp = uipanel('Title','Main Panel','FontSize',12,...
'BackgroundColor','white',...
'Position',[.25 .1 .67 .67]);
hsp = uipanel('Parent',hp,'Title','Subpanel','FontSize',12,...
'Position',[.4 .1 .5 .5]);
hbsp = uicontrol('Parent',hsp,'String','Push here',...
'Position',[18 18 72 36]);
print
The printed output is misaligned and/or lacks uicontrols that appear in the figure.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
This is fixed in MATLAB 7.2 (R2006a).
If you are using a prior release, no workarounds exist.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!