필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품


릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by