Slightly different wind rose in Matlab

2 ビュー (過去 30 日間)
Braden
Braden 2011 年 5 月 31 日
I would like to build a wind rose in Matlab similar to the following: http://www.windographer.com/media/medialibrary/2010/04/windshear.png
The input data is a wind frequency distribution binned by direction and month. It has the circular shape of a wind rose but the lines of a radar plot. Any tips would be much appreciated!

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2011 年 5 月 31 日
Isn't this just what you'd get with polar? (or any of its siblings on the file exchange)
  2 件のコメント
Braden
Braden 2011 年 5 月 31 日
Thanks for the answer Bjorn. I think with a little bit of playing the polar might work. The polar plot uses normal quadrant rules and has 0 on the positive X axis, with 90, 180, and 270 on the axes going CCW. On wind roses 0/359 is the positive Y axis, with 90, 180, and 270 on the axes going CW. http://www.mathworks.com/help/techdoc/ref/polar_1.png
Apparently this command: set(gca,'view',[-90 90]) will rotate so 0 is at the top, but how to I flip 180 and 270?
Braden
Braden 2011 年 5 月 31 日
Never mind, I used: set(gca,'view',[90 -90]) and it now will work for me.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolar Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by