Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: save figures without displaying
Replies: 16   Last Post: Feb 11, 2014 1:14 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Oliver Woodford

Posts: 605
Registered: 8/3/07
Re: save figures without displaying
Posted: Apr 19, 2011 4:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Oliver" wrote:
> Problem: I have a tool that batch processes data and creates loads (00's) of figures. I don't want them flashing up and getting in the way while the user is still trying to work on the machine.

There is a much simpler solution than making the figures not visible. Always render into the same figure:

for a = 1:num_figs
set(0, 'CurrentFigure', 1);
clf reset;
% Plot here
% Save here, using print or export_fig
end

This avoids bringing the figure to the foreground every time it's rendered.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.