how to plot wind speed and direction in windrose
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Sreeja Banerjee
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!