MATLAB Solving Differential Equation Plotting with MATLAB

AI Thread Summary
When saving plots as bitmap format in MATLAB, users may encounter issues with a black background that obscures the axes and scale. To resolve this, setting the figure background to white using the command "figure('Color', 'w')" can help. Additionally, some users recommend copying the figure directly into a Word document or using a screenshot method, such as print screen followed by pasting into an image editor like Paint, to avoid the black background issue. Concerns were also raised about color mapping, where the surface appears smooth but the colors transition abruptly from cyan to blue, indicating potential issues with the color settings.
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.
 

Similar threads

Replies
5
Views
3K
Replies
9
Views
5K
Replies
1
Views
3K
Replies
6
Views
2K
Replies
1
Views
2K
Replies
3
Views
5K
Replies
2
Views
4K
Back
Top