Matlab:风玫瑰情节:改变传奇

问题描述 投票:2回答:1

我想描绘一个风玫瑰,但我的风速数据非常低(0-20)。我在这里找到了WindRose包(https://se.mathworks.com/matlabcentral/fileexchange/47248-wind-rose),它给了我情节。但我找不到任何地方如何改变风速值或如何更改图例标题。谢谢您的帮助!

matlab plot matlab-figure legend
1个回答
1
投票

function documentation看,你可以在调用函数时简单地设置以下两个参数。 第一个将把你的传奇标题作为输入。 第二个将采取最大风速。还有另一个选项('nspeeds')也可以设置所需的箱数(即0和最大风速之间的数量间隔)

% 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.
© www.soinside.com 2019 - 2024. All rights reserved.