Animation issue with getframe
2 views (last 30 days)
Show older comments
Hi
I'm using the getframe on a surf plot. The figure is created with:
figure('Renderer','zbuffer');
set(gca,'NextPlot','replaceChildren');
axis tight;
This gives me a plot with nothing in it. If I remove the
set(gca,'NextPlot','replaceChildren');
the plot becomes visible, but does not overwrite the earlier plot. Hold is off.
Any ideas?
0 Comments
Answers (1)
Image Analyst
on 6 Jun 2013
To reset the earlier plot and completely overwrite it with the new plot, try this:
cla reset;
0 Comments
See Also
Categories
Find more on Animation 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!