Wind Rose Function Question - Percentage Labeling

6 次查看(过去 30 天)
Trying to adjust the code to add percentage of speed frequency on each circle. Right now my two variables I am putting into the function are direction and speed. They are the same size variables so I am dismissing the varargin. Please let me know if you have any advice or tips.
I have been using this function and there is a setting to show the frequency of the wind direction on the circles as a lable as a percentage. I have run the code perfectly and it is smooth, but the percentage labeling on the circles is not showing up. Can anyone guide me to correct this or if there is an adjustment I need to make to get it to show up?
Thank you!
  2 个评论
Daniel Pereira
Daniel Pereira 2020-7-16
Dear Lindsey.
I think you need reading the documentation.
In order to show the frequency labels, use:
WindRose(dir, spd, 'FreqLabelAngle', 'auto');
Please check the PDF documentation attached along with the code or visit the documentation site:
You will see many examples in the documentation, so you can find different solutions/options to customize your windrose.
If this does not solve your problem, please send me more details, specifying the code you ar using, the result you expected and the result you get.
Best regards.
Lindsey Nixon
Lindsey Nixon 2020-7-21
I was able to figure out the percentage issue, definitely an error on my end.
I have an additional question, is there a "percent calm" for when the wind speeds are 0 written into the code to show specifically as a seperate box at the bottom of the code? I can dabble with trying to add it in, but as a beginner I know it may be more harm than good!
I appreaciate your time and response.
Thanks

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Weather and Atmospheric Science 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by