spiderplot(X, axisMax, axisMin, colors)

Version 1.1.0.1 (3,27 KB) von Martti K
Creates a spider (radar) plot
5,2K Downloads
Aktualisiert 1. Sep 2016

Lizenz anzeigen

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);

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2007a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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