Effacer les filtres
Effacer les filtres

How would I change the color of the angular axes without changing the color of the grid lines in polar plot

2 vues (au cours des 30 derniers jours)
How would I change the color of the angular axes without changing the color of the grid lines in polar plot, Fig. 1. So, I can clearly see the color difference between the edge line and grid lines, as shown in Fig. 2.
  4 commentaires
Jan
Jan le 24 Juil 2019
Modifié(e) : Jan le 24 Juil 2019
You asked "change color of the angular axes without changing the color of the grid lines" at first. Now you want to change the grid lines also? What exactly is "the theta line"?
irfan Ullah
irfan Ullah le 24 Juil 2019
Modifié(e) : irfan Ullah le 24 Juil 2019
Sorry, I just want to change the color of the angular axes to black!

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 24 Juil 2019
Modifié(e) : Jan le 24 Juil 2019
AxesH = polaraxes;
theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
polarplot(AxesH, theta, rho)
AxesH.GridColor = [1, 0, 0];
You can modify the Properties of AxesH.RAxis and AxesH.ThetaAxis also.

Catégories

En savoir plus sur Polar Plots 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