spiderplot(X, axisMax, axisMin, colors)

Versione 1.1.0.1 (3,27 KB) da Martti K
Creates a spider (radar) plot
5,2K download
Aggiornato 1 set 2016

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Polar Plots in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
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