Figures saving in partial gray-scale
조회 수: 14 (최근 30일)
이전 댓글 표시
I am using the following command to create an animated gif
imwrite(im,map,'TestMovie.gif','DelayTime',0,'LoopCount',1)
Although the graphic looks correct on the screen within Matlab, when I open the test movie, some (not all) of the colors turned to gray. The animated gif only shows red, yellow, blue and gray.
I have also had this problem happen before when using the print -depsc2 command with contoured figures. Although the plot itself looks correct, the colorbar is incorrect and only shows red, blue, yellow, and gray.
Does anyone know what the problem is and how to fix it?
Any help would be appreciated.
Thanks
댓글 수: 2
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!