How can I change the background color from gray to white when copying a figure to PowerPoint?

2,258 views (last 30 days)
On Windows, there is a "Copy Options" panel in the File->Preferences dialog which allows the user to set the background color of the copied figure to white. On Macintosh, this preference panel is not available, so all figures are copied with gray background. I would like to change the background color of my figure to white before copying it.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This "Copy Options" panel is currently not available in the File->Preferences dialog in MATLAB 7.2 (R2006a) on Mac OS X.
To work around this issue, you can use one of the two approaches described below:
Approach 1:
a) From the File menu, select "Export setup".
b) Under Properties select Rendering and check the “Custom color” option.
c) Enter “w” in the adjacent text box and click “Apply to Figure” to update the figure.
d) Use the “Edit -> copy figure” option to copy and paste the figure with white background in PowerPoint.
Approach 2:
a) Set the figure background to white from MATLAB prompt as follows:
set(gcf,'color','w');
b) Use the “Edit -> Copy figure” option to copy the figure and then paste it into PowerPoint, where it will have a white background .

More Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Tags

Products


Release

R2006a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!