VideoWriter clipping my axes
이전 댓글 표시
I'm using the VideoWriter feature for a simple animation of motion of a 3-D surface. Running through the loop, I can see in my figure window that the plot looks great, but something in the process is removing several dozen pixels bounding the entire figure. The result is that I only see a small corner of the axes. Is getframe trimming away my edges? How can I fix it?
채택된 답변
추가 답변 (1개)
Sean de Wolski
2013년 8월 9일
I would guess getframe ios the culprit. Try cycling through the renderers - I would start with 'Painters'
set(gcf,'renderer','painters')
댓글 수: 5
Chad Greene
2013년 8월 9일
Sean de Wolski
2013년 8월 9일
I'd be curious to see a reproducible example.
Chad Greene
2013년 8월 9일
Sean de Wolski
2013년 8월 9일
random values!
Chad Greene
2013년 8월 9일
카테고리
도움말 센터 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!