spiderplot(X, axisMax, axisMin, colors)

Versión 1.1.0.1 (3.27 KB) por Martti K
Creates a spider (radar) plot
5.2K descargas
Actualizado 1 Sep 2016

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Polar Plots en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
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