Filter löschen
Filter löschen

how to plot wind speed and direction in windrose

9 Ansichten (letzte 30 Tage)
Teklehaimanot
Teklehaimanot am 6 Jun. 2015
Beantwortet: Sreeja Banerjee am 8 Jun. 2015
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.')

Antworten (1)

Sreeja Banerjee
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

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by