Figure reuse and PUBLISH

I definitely need to reuse the figure in my actual application due to memory limitations.
Thank you.
% script publish_me.m
for ix=1:10 figure(1); plot(rand(100,1),cumsum(rand(100,1))); drawnow; end

2 Comments

I'm sorry, but I don't understand. Is there a question you have? If so, could you state it clearly, please
Susan
Susan on 13 Apr 2011
Sorry, the top of my message got cut off somehow. Whole message was this:
How can I make the published version of the following script show all 10 figures? I definitely need to reuse the figure in my actual application.
Thank you.
% script publish_me.m
for ix=1:10
figure(1);
plot(rand(100,1),cumsum(rand(100,1)));
drawnow;
end

Sign in to comment.

 Accepted Answer

Arnaud Miege
Arnaud Miege on 13 Apr 2011

0 votes

If the question relates to publishing, you might want to use snapnow.
Arnaud

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!