Animation issue with getframe
조회 수: 14 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Image Analyst
2013년 6월 6일
To reset the earlier plot and completely overwrite it with the new plot, try this:
cla reset;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!