Coordinates in degree in Rose plot
1 回表示 (過去 30 日間)
古いコメントを表示
I want to plot the following coordinates in a rose plot, so I get something that looks like a compass, with a representation for the element at the respective direction. I have tried different bins, but did not get the right result.
a= [30,
180,
40,
260,
310,
]
rose(a,360)
0 件のコメント
回答 (1 件)
Ilham Hardy
2015 年 5 月 20 日
rose theta input is expressed in radians (most of trig-related matlab functions are in radians).
You can try this:
rose(a.*(pi/180),360)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!