求助:有谁知道怎么matlab画气象上的风玫瑰图吗?
N NNE NE ENE E? ? ESE SE SSE S? ? SSW SW WSW W?? WNW NW NNW3.5 9.6 8.8 6.1 10.5 14 9.6 4.4 3.5 4.4 1.8 0.9 4.4 14 2.6 1.8
根据上面的数据画出下面的图(上面是N,右面是E)
[[it] 本帖最后由 denglin 于 2008-2-19 16:11 编辑 [/it]]
可以试试rose()函数。 rose函数不行,画出来是这样的 ?theta=pi/2:-pi/8:-3*pi/2;
?rou=[3.5 9.6 8.8 6.1 10.5 14 9.6 4.4 3.5 4.4 1.8 0.9 4.4 14 2.6 1.8 3.5];
?figure,polar(theta,rou) >> theta=pi/2:-pi/8-3*pi/2;
>> rou=[3.5 9.6 8.8 6.1 10.5 14 9.6 4.4 3.5 4.4 1.8 0.9 4.4 14 2.6 1.8 3.5];
>> figure,polar(theta,rou)
[color=Red]??? Error using ==> polar
THETA and RHO must be the same size.[/color]
好像还是不行! 用鼠标点一下图看的比较清楚。
[[it] 本帖最后由 home96 于 2008-3-4 17:35 编辑 [/it]]
页:
[1]
