Effacer les filtres
Effacer les filtres

transparency line of polar graph

8 vues (au cours des 30 derniers jours)
Begüm DEVLET
Begüm DEVLET le 24 Déc 2021
Commenté : Begüm DEVLET le 24 Déc 2021
I plot a polar graph with line data set. I could not change transparency of data lines, i tried facealpha and edgealpha but they did not work.
if anyone has a idea that how can change the transperancy of lines would be great, thank you.

Réponse acceptée

Chunru
Chunru le 24 Déc 2021
theta = deg2rad(0:360);
r = cos(theta).^2;
a = polar(theta, r);
a.Color =[1,0,0, .2]; % use the last value to control the transparency
  1 commentaire
Begüm DEVLET
Begüm DEVLET le 24 Déc 2021
it works, thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by