spiderplot(X, axisMax, axisMin, colors)

版本 1.1.0.1 (3.3 KB) 作者: Martti K
Creates a spider (radar) plot
5.2K 次下载
更新时间 2016/9/1

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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