VideoWriter Help
조회 수: 5 (최근 30일)
이전 댓글 표시
Hej. I want to save my animated 4D plot as an avi file. I can do this with videowriter function however it somehow cuts the edges of the graph (labels of axes and terminal values are invisible). Is there a possibility to adjust the captured image? Changing the size of my graph does not help at all
Any help will be really appreciated
댓글 수: 0
채택된 답변
Sarah Wait Zaranek
2011년 3월 22일
You can set the rectangular frame you want to capture.
currFrame = getframe(gca,[-10 -10 400 400]);
The value of cdata in your captured frame (using the default settings) will give you a starting point.
or you can capture the entire window by using the figure handle as input:
F = getframe(figure_handle);
getframe help documentation spells this out in more detail:
댓글 수: 2
Sarah Wait Zaranek
2011년 3월 23일
Hah. Oh well, at least it is recorded for the next person who has the same issue :)
추가 답변 (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!