LabCanvas
Free account · save your work, full figure editorSign up free

Polar plot and wind rose maker

For a wind rose, paste wind directions (degrees from north, where the wind blows from) and speeds, one row per observation: the tool counts them into 16 direction sectors centred on N, NNE, NE … and into speed classes (0.5–2, 2–4, 4–6 and over 6 m/s by default), draws stacked bars as % of all observations, and reports calms apart. For a polar plot, paste angles in the first column and one or more value columns (antenna gain, intensity against angle) and draw them as lines, points, filled areas or rose bars, with 0° at the right or at the top.

What it does
Counts wind observations into direction sectors and speed classes and draws a wind rose, or draws angle–radius data as a polar plot.
Formula
k=⌊θ+180/n360/n⌋modnfk,j=Nk,jN×100%
Example
720 hourly observations: the wind blew most often from the WSW (17.2% of hours), calms below 0.5 m/s were 3.2% and the mean speed was 3.83 m/s.

Last updated

FreeNo sign-upRuns in your browserFigures

Loading Polar plot and wind rose maker…

At a glance

Polar plot and wind rose maker at a glance
InputWind direction (° from north) and speed per observation; or angle and one or more value columns
Wind rose8, 16 or 36 sectors centred on the compass points; speed classes and calm threshold you set; % of all observations
Polar plotLines, points, filled areas or rose bars; 0° right or top; clockwise or anticlockwise
AccuracySector and class percentages match NumPy to 10⁻¹²
ExportPNG at 300 or 600 dpi, CSV frequency table; editable in the Graph app
Runs inYour web browser; nothing is uploaded
PriceFree, no account needed

What it does

How to use the polar plot and wind rose maker

  1. Choose what you haveWind directions and speeds (one row per observation) for a wind rose, or angles and values for a polar plot.
  2. Paste your dataDirection in degrees from north (where the wind comes from) and speed; or angle in degrees and one column per series. Paste straight from Excel or drop a CSV.
  3. Set up the plotSpeed classes, calm threshold and number of sectors for a wind rose; lines, points, areas or bars and where 0° sits for a polar plot. Then download or open it in the Graph app.

How it works

Sectors. With n sectors each covers 360/n degrees and is centred on its direction, so with 16 sectors “N” covers 348.75° to 11.25° and “NNE” 11.25° to 33.75°. A direction θ falls in sector

k=⌊(θmod360)+180/n360/n⌋modn

Speed classes and calms. Speeds below the calm threshold (0.5 m/s by default) have no meaningful direction: they are counted as calm and not drawn. The other observations go into classes bounded by the edges you give: with 2, 4, 6 the classes are 0.5–2, 2–4, 4–6 and over 6 (each includes its lower edge). Each bar segment is the share of all observations, calms included, that fall in that sector and class, so bars plus calms add up to 100%.

fk,j=Nk,jN×100%

Wind direction is by convention where the wind blows from: a westerly blows from 270°. A wind rose drawn from hourly data for a year is the standard way to show prevailing winds at a site, for example for air-quality work (Carslaw and Ropkins 2012).

Polar plots. The angle is the first column, in degrees (or radians, detected when all angles are within ±2π and not whole numbers); each other column is one series of radii. With 0° at the top and angles running clockwise the plot reads like a compass; with 0° at the right and anticlockwise, like a mathematics graph. Negative radii (gain in dB) are drawn from an inner circle at the lowest value.

Accuracy. The binning (the Graph app’s rose sectors) and the drawing are the LabCanvas Graph app’s polar graph, run in your browser. On the example, every sector and class percentage, the calm count and the mean speed match NumPy to 10⁻¹² (scripts/polar-plot-maker-check.ts).

Source: Carslaw DC, Ropkins K. openair — an R package for air quality data analysis. Environ Model Softw 2012;27–28:52–61, doi:10.1016/j.envsoft.2011.09.008.

Worked example: a month of hourly wind

The built-in example is a synthetic month of hourly wind (720 observations, labelled as demo data): mostly west-south-westerly, with a weaker north-easterly spell and stronger winds from the prevailing direction.

Result of the tool (16 sectors, classes 0.5–2, 2–4, 4–6, > 6 m/s)
QuantityValue
Observations720
Calm (below 0.5 m/s)23 (3.2%)
Most frequent directionWSW (236.25° to 258.75°), 17.2% of hours
Next most frequentW (15.3%) and SW (14.3%)
Mean speed3.83 m/s

By hand. An observation from 250° falls in sector ⌊(250+11.25)/22.5⌋=11, WSW. 124 of the 720 hours fall in WSW, so the WSW bar is 124/720×100=17.2% tall, split by speed class.

A polar plot. Choose angles and values for the second example: the E- and H-plane gain of a patch antenna every 5°, from −9.3 to 7.4 dBi, drawn as lines with 0° at the right.

Frequently asked questions

How do I make a wind rose?

Choose wind directions and speeds, paste the two columns (direction in degrees from north, speed), and set the speed classes and the number of sectors. The rose shows how often the wind blew from each direction, split by speed, as % of all observations; calms are reported apart.

What do the bars of a wind rose show?

Each bar is one direction sector: its length is the share of the time the wind blew from that direction, and its coloured segments split that share by wind speed. The longest bar is the prevailing wind.

Is wind direction where the wind comes from or goes to?

Where it comes from, by meteorological convention: a north wind blows from the north (0°). If your data give the direction the wind blows towards, add 180° first.

How many sectors should I use?

16 (22.5° each) is the usual choice and matches the compass points. Use 8 for little data and 36 (10°) for long records measured to the degree.

How do I make a polar plot from angle and radius data?

Choose angles and values, paste the angle column and one column per series, and pick lines, points, filled areas or bars, and where 0° sits. Negative values such as dB are fine.

What counts as calm?

Speeds below the calm threshold (0.5 m/s by default; set it to 0 to count everything). Calms are included in the total, so the bars and the calm percentage add up to 100%.

Put the wind rose in a report figure

The LabCanvas Graph app draws wind roses and polar plots next to your other graphs, styled for journals and reports. Your data from this page opens in it.

Open the Graph app