how to plot wind speed and direction in windrose
3 views (last 30 days)
Show older comments
Dear all, I would like to plot the wind speed and direction in windrose. I attempted to plot as follows, but it doesnot work. For further information, I have attached the plot. As you see in the plot, the red colour represents the wind speed in the east direction, instead of in radial.
figure(1)
rose(meteo.Fino1.wd90*180/pi, [0.5:10:355])
hold on
plot(meteo.Fino1.ws90,'r.')
0 Comments
Answers (1)
Sreeja Banerjee
on 8 Jun 2015
Hi Teklehaimanot,
In your question you have mentioned that you have attached a plot, however, I could not find any attached with this question. May be you can try to attach the plot and the data meteo.Fino1.wd90 and meteo.Fino1.ws90 so that it is easier for other MATLAB Answers Users to understand what format your data is in.
Assuming that you are interested to plot wind speed and direction using arrows and that you are not particular about using the ROSE function, I can suggest you to use the function QUIVERM. Documentation at the following link: http://www.mathworks.com/help/map/ref/quiverm.html
You may also use a combination of the ROSE and POLAR function to achieve the Wind-Rose shape. However, I am not able to suggest anything particular without knowing what format your data is in.
Please look at the following documentation of POLAR: http://www.mathworks.com/help/matlab/ref/polar.html
0 Comments
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!