Azzera filtri
Azzera filtri

uneven distributed points in polarscatter

2 visualizzazioni (ultimi 30 giorni)
JZ
JZ il 12 Ago 2021
Commentato: JZ il 12 Ago 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')

Risposta accettata

Chunru
Chunru il 12 Ago 2021
polarscatter use radian instead of deg
b=0:10:350;
polarscatter(deg2rad(b),ones(size(b)),100,ones(size(b)),'filled')
  1 Commento
JZ
JZ il 12 Ago 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?

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by