I want to plot a wind rose but my data for the wind speed is very low (0-20). I found the WindRose package here (https://se.mathworks.com/matlabcentral/fileexchange/47248-wind-rose) and it gives me the plot. But I can't find anywhere how to change the wind speed values or how to change the legend title. Thanks for the help!
2
votes
1 Answers
1
votes
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.