Coordinates in degree in Rose plot
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Ilham Hardy
le 20 Mai 2015
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 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!