How to export a figure with its UI elements in Windows 7?
Show older comments
Hi all,
I'm trying to export a Matlab figure together with its UI elements (the whole figure window). The usual way I export a figure as an eps vector image is something like this:
FigHandle = figure;
plot(rand(1,10));
set(FigHandle, 'PaperPositionMode', 'auto')
print(FigHandle, '-depsc2', '-painters', 'temp_fig.eps');
Is there a quick way of exporting the entire figure window?
Thanks!
Accepted Answer
More Answers (1)
per isakson
on 11 Aug 2013
Edited: per isakson
on 11 Aug 2013
-noui, Suppress printing of user interface controls. See "Excluding User
Interface Controls".
But you want them included;-(
In the Preferences | Figure Copy Template there is a Show uicontrols check-box.
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!