area_spider_plot( data, plotArea )

Plot data in a circular spider (radar) plot either as lines or as shaded area.
Updated 29 May 2018

View License

Adapted from

This function plots a spider plot using the columns of P as datapoints.
P : the data as matrix.
optional: a boolean value to indicate whether to plot the data as area or as line plot.
Example usage:
area_spider_plot(P): plots data as line plot
area_spider_plot(P, true): plots data as area plot

legendchoices = {'data1', 'data2', 'data3'};

figure('rend', 'painters', 'pos', [100,100, 1000,800])
idx = area_spider_plot(data);

Cite As

Sarah Blum (2024). area_spider_plot( data, plotArea ) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Polar Plots in Help Center and MATLAB Answers

Inspired by: Radar plot

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

changed the indices of the legend entries to match the possibly resorted areas

added picture
changed description and title