I am using the following command to create an animated gif
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.
No products are associated with this question.