Plotting a bar graph on a circular axis
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Harrison Chong
le 4 Jan 2023
Commenté : Harrison Chong
le 5 Jan 2023
Could anyone point me in the direction of being able to produce a bar graph on a circular axis like in the picture attached? (Not asking for complete code, just a pointer).

0 commentaires
Réponse acceptée
John D'Errico
le 4 Jan 2023
Modifié(e) : John D'Errico
le 4 Jan 2023
Just to make up some data...
n = 100;
theta = linspace(0,2*pi,n);
r = 10 + rand(1,n);
r = [r;r+1+rand(1,n)];
Ok. now I have some data. Just call polar.
polar([theta;theta],r,'-')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polar Plots 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!
