Stop GIF plot from resizing
조회 수: 12 (최근 30일)
이전 댓글 표시
I am plotting the displacement of a 3D object. When I save it as GIF, the object size changes frame by frame, pushing away the colorbar further away (overall image size is the same, but colorbar is pushed out of the frame).
Is there a way to avoid this?
I tried with Resize = "off" or Clipping = "on" and they didn't work. I know you can define the OuterPosition in pixels, but I don't want to do that because I am using the resolution feautre in exportgraphics to allow the user to define a custom size.
댓글 수: 1
Richard Quist
2022년 5월 2일
It would help if you can share the code you're using that reproduces the problem, including how you are creating the plot and saving the GIF
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!