Wind Rose Function Question - Percentage Labeling

6 visualizaciones (últimos 30 días)
Lindsey Nixon
Lindsey Nixon el 11 de Jul. de 2020
Comentada: Lindsey Nixon el 21 de Jul. de 2020
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 comentarios
Daniel Pereira
Daniel Pereira el 16 de Jul. de 2020
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 el 21 de Jul. de 2020
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Weather and Atmospheric Science en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by