Effacer les filtres
Effacer les filtres

uneven distributed points in polarscatter

2 vues (au cours des 30 derniers jours)
JZ
JZ le 12 Août 2021
Commenté : JZ le 12 Août 2021
I am trying to plot points evenly distributed using polarscatter. So I have the following lines. However apparently those points are not evenly distributed as attachment. I really appreciate any help!
>> b=0:10:350;
>> polarscatter(b,ones(size(b)),100,ones(size(b)),'filled')

Réponse acceptée

Chunru
Chunru le 12 Août 2021
polarscatter use radian instead of deg
b=0:10:350;
polarscatter(deg2rad(b),ones(size(b)),100,ones(size(b)),'filled')
  1 commentaire
JZ
JZ le 12 Août 2021
That's great! Really appreciate that.
Also, if you don't mind, how may I make those circles big enought so that they can be adjecent to each other automatically?

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by