Wind Rose

Graph and table for Direction-Intensity data
25,8K téléchargements
Mise à jour 22 fév. 2023

Afficher la licence

This function allows to create a Direction-intensity histogram, also known as "Wind Roses". This tool can be used for representing this kind of graphics.
It also returns the data represented in the graph into a data table (double array and cell array that can be directly exported to excel).
Inside the submission and in the project website you will find the documentation with different examples so as to use the tool as needed.
Consider donating to support my work!
https://www.paypal.com/donate?hosted_button_id=D79DM35H7NPCW
by Daniel Pereira - daniel.pereira.valades@gmail.com
This function was featured in Ned Gulley's post in Matlab blogs on March 19, 2020, Nor’easters and Wind Roses.
https://blogs.mathworks.com/community/2020/03/19/noreasters-and-wind-roses/
Thank you very much Ned for including it in such an interesting article.
Thanks to all users providing feedback and support!
Please, keep giving feedback and suggestions.

Citation pour cette source

Daniel Pereira (2024). Wind Rose (https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2022b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : Wind_rose

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
2.1.0.0

Normalization, Logarithmic scale and more.

See full Changelog in project's web page:
https://dpereira.asempyme.com/windrose/

Donations are welcome:
https://www.paypal.com/donate?hosted_button_id=D79DM35H7NPCW

2.0.1.0

Documentation added for Legend position and orientation.
See Changelog in project's web page:
https://dpereira.asempyme.com/windrose/

Donations are welcome:
https://www.paypal.com/donate?hosted_button_id=D79DM35H7NPCW

2.0.0.0

See Changelog in project's web page:

https://dpereira.asempyme.com/windrose/

Thanks to all the users and special thanks to José Miguel Jaúregui, Naxya and Clive Holden from Oceanographic Field Services, for their support.

1.7.0.2

Changed description

1.7.0.1

Changed description

1.7.0.0

Added option to show frequencies as in a ruler (thanks to Jacqueline Freire Rigatto for the idea)
Added a space below the title string so it does not interfere with the upper label
Added the variable name into legend type 1 (colorbar)

1.6.0.3

Donations are welcome:
https://www.paypal.com/donate?hosted_button_id=D79DM35H7NPCW

1.6.0.2

Added reference to Matlab blogs

1.6.0.1

Documentation updated

1.6.0.0

Added option to plot the windrose in the desired position (X,Y) in a plot, combined with scalefactor.
Wind rose radius is now ALWAYS equal to the 'scalefactor' value.
See attached PDF for more information.

1.5.0.3

Updated Image to fit preview size

1.5.0.2

Updated image

1.5.0.1

Corrected the issue with scale factor, which displayed wrong frequency values and wrong radial grid lines.

1.5.0.0

Changed the way in which labels are read. The order now should be 'North','East','South','West'.
Added options for grid line styles (color, line style and transparency/alpha) both for radial and circular grids.
Added option for variable adial divisio

1.3.1.0

Corrected histogram count inside function "PivotTableCount", which didn't consider always values greater than the max(vwinds) value.

1.3.0.0

Added option to create the wind rose graph in specified axes (subplot or previously created axes).
Added script showing how to import data from Excel and exporting results (table + figure) to Excel.
Updated documentation (with links to paragraphs).

1.2.0.0

Some functionalities addes (specifying the speed ranges in a vector, scaling the wind rose inside the figure, different legends, titles, texts).

Documentation inside submission.

1.1.0.0

Options to hide/show figure menubar and toolbar
User can specify speed bins colors
Order of the speeds can be reverted
Speed bins can be explicitly defined
Corrected colorbar bug
Options can be passed as cell or structure

1.0.0.0