Why does the "EdgeAlpha" property not work in MATLAB 7.0.4 (R14SP2)?

2 views (last 30 days)
Setting the "EdgeAlpha" property does not change the transparency of the graph when the figure is copied. For example:
z=peaks(25);
h1=mesh(z);
set(h1,'EdgeAlpha',0.4);
In MATLAB 7.0.4 (R14SP2) and previous versions, the plot transparency gets adjusted, however, when the figure is copied (Edit -> Copy Figure), the plot transparency is reset back to opaque.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0.4 (R14SP2) and previous versions when setting the EdgeAlpha property and then copying the figure.
To work around this issue in MATLAB 7.0.4 (R14SP2) and previous versions, you can change the preference of the copy options by clicking in the figure: EDIT -> COPY OPTIONS and then change the preference of the Clipboard format to “Bitmap” and change the preference of the Figure Background Color to “Force white background”. Now after you copy the figure, it will be pasted with the desired transparency.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!