How can I export the plot I created with the Partial Differential Equation Toolbox GUI in MATLAB 7.14 (R2012a)?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Nov 2012
This enhancement has been incorporated in Release 2012b (R2012b). For previous product releases, read below for any possible workarounds:
The ability to export a plot created with PDETOOL is not available in the Partial Differential Equation Toolbox. To work around this issue, enter the following commands at the command prompt:
ax_handle = findall(0,'tag','PDEAxes');
fig_handle = figure;
copyobj(ax_handle,fig_handle);
set(allchild(fig_handle),'HandleVisibility','on');
print -djpeg savedfigure

More Answers (0)

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!