我想绘制风向图,但是我的风速数据非常低(0-20)。我在这里(https://se.mathworks.com/matlabcentral/fileexchange/47248-wind-rose)找到了WindRose软件包,它为我提供了绘图。但是我找不到任何地方如何更改风速值或如何更改图例标题。 感谢您的帮助!
答案 0 :(得分:1)
From the function documentation it seems that you can simply set the following two parameters when calling the function.
The first will take your legend title as input.
The second will take the max wind speed. There is another option ('nspeeds'
) to also set the number of bins desired (i.e.the number intervals between 0 and max wind speed)
% PARAMETER CLASS DEFAULT VALUE DESCRIPTION
'lablegend' String. 'Wind speeds in m/s' String that will appear at the top of the legend. Can be empty.
'speedround' Numeric. [] (auto) Maximum wind speed will be rounded to the first higher whole multiple of WindSpeedRound.