MATLAB Answers

1

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

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.

Tags

Products


Release

R2006a

1 Answer

Answer by MathWorks Support Team on 27 Jun 2009
 Accepted Answer

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 .

  1 Comment

Sign in to comment.