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

2,272 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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 .

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

标签

产品


版本

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by