Wind Rose / Energy Rose

This file creates a wind rose of input data (e.g. wind direction and wind speed)
Updated 2 Apr 2016

View License

The purpose of this submission is to provide a simple to use wind rose generator which bins the data for you. It is also possible to create an energy rose.
WindRoseData = WindRose(AxisHandle, WindDirectionData, Data, ...
WindDirectionBins, WindSpeedBins, CirclePositions, ...
Title, varargin)

WindRoseData = WindRose(gca, 360 * rand(1000, 1), 40 * rand(1000, 1), ...
0 : 30 : 330, 2.5 : 5 : 37.5, [5 10 15 20], ...
'My first wind rose!');

The basic idea came from this submission: The best results are procuded using a recent MATLAB version, because of the new anti-aliasing for plots.

Cite As

Vincent Wilms (2024). Wind Rose / Energy Rose (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Weather and Atmospheric Science in Help Center and MATLAB Answers

Inspired by: Wind_rose

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Reduced the dependencies and included the remaining dependencies in WindRose.m to have just a single file.

Implemented support to disable specific or all decorations.