spiderplot(X, axisMax, axisMin, colors)

Version 1.1.0.1 (3.27 KB) by Martti K
Creates a spider (radar) plot
5.2K Downloads
Updated 1 Sep 2016

View License

SPIDERPLOT(X), where X is a M times N matrix, plots N radar plots to a figure with M axis.
SPIDERPLOT(X [MxN], AXISMAX [Mx1], AXISMIN [Mx1], COLORS [Nx1 or Nx3]) uses AXISMIN and AXISMAX to scale the axis, and COLORS as the colors of the radar plots.
To use default values, pass [] to AXISMIN, AXISMAX, and COLORS.
This function uses GLYPHPLOT from Statistics Toolbox. MATLAB version 2007a or later is required (with versions R14-2006b one has to edit line 276 of glyphplot.m by changing the %-sign to &&).

HOLD doesn't work, sorry.

The picture attached can be produced by

h = spiderplot(magic(5)+10, ...
[35 40 45 50 55], ...
[0 2 4 6 8], ['r' 'g' 'b']');
set(h.axis, 'LineWidth', 2);
set(h.plots, 'LineWidth', 2);

Cite As

Martti K (2024). spiderplot(X, axisMax, axisMin, colors) (https://www.mathworks.com/matlabcentral/fileexchange/14875-spiderplot-x-axismax-axismin-colors), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Axis scaling failed with negative values.

1.0.0.0

Doesn't work with versions prior to 2007a