how to plot wind speed and direction in windrose

조회 수: 8 (최근 30일)
Teklehaimanot
Teklehaimanot 2015년 6월 6일
답변: Sreeja Banerjee 2015년 6월 8일
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.')

답변 (1개)

Sreeja Banerjee
Sreeja Banerjee 2015년 6월 8일
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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by