Plot background turns black when saving as bitmap in MATLAB

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
saravanan13
Messages
52
Reaction score
0
Dear Friends
I am plotting some solution of differential equation in MATLAB and successfully completed but while attempting to save that plot as bitmap format the background of the plot become black with the axis and scale are hidden inside that background. I herewith attached the bitmap format of the plot. Suggest some ideas to help me out of this problem.
 

Attachments

Physics news on Phys.org
Could you copy the figure from MATLAB and paste it in paint?

Generally, I just copy and paste it in word file instead of saving figures. I never encountered black problem.
 
If you open the figure with: figure('Color', 'w') it should force the background to be white.

Colourmap looks off as well; the surface is clearly smooth, yet the colours jump from cyan to blue. Perhaps printscreen + paste is best as the above poster said.