Coordinates in degree in Rose plot
4 次查看(过去 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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!