MATLAB Examples

This is an example of how to create a rose plot in MATLAB®.

Read about the rose function in the MATLAB documentation. For R2016b or newer, use polarhistogram function instead.

For more examples, go to MATLAB Plot Gallery

% Load sunspot data
load sunspotData sunspot

% Create a rose plot with 24 sectors
rose(sunspot, 24)

% Add title
title('Sunspot Frequency')