Filter löschen
Filter löschen

uneven distributed points in polarscatter

2 Ansichten (letzte 30 Tage)
JZ
JZ am 12 Aug. 2021
Kommentiert: JZ am 12 Aug. 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')

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by