Why does the "EdgeAlpha" property not work in MATLAB 7.0.4 (R14SP2)?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
Réponse acceptée
MathWorks Support Team
le 27 Juin 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!