spider(data,tle,rng​,lbl,leg,f)

Plots matrix column data in a spider plot.
10.9K Downloads
Updated 8 Apr 2015

View License

Function plots table data in a spider (or radar) plot form. Permits independent or global axis limit controls as well as axis labeling and data set labeling. Also allows for the plot axes to be specified. Any inputs other than the data to be plotted can be left as null ([]) which then uses the default settings. Minimum of three axes (three rows to the data) required (technical limitation to a spider plot). No maximum on number of rows (axes) or columns (data sets) but plots can get busy if rational limits are not used.
Examples are included in the help listing for usage methods.
% create a spider plot for ranking the data
% function [f, ca, o] = spider(data,tle,rng,lbl,leg,f)
%
% inputs 6 - 5 optional
% data input data (MxN) (# axes (M) x # data sets (N)) class real
% tle spider plot title class char
% rng peak range of the data (Mx1 or Mx2) class real
% lbl cell vector axes names (Mxq) in [name unit] pairs class cell
% leg data set legend identification (1xN) class cell
% f figure handle or plot handle class real
%
% outptus 3 - 3 optional
% f figure handle class integer
% x axes handle class real
% o series object handles class real
%
% michael arant - jan 30, 2008

Minor bug with automatic placement of legend (may cover the axis labels). Legend can be moved manually.

Cite As

michael arant (2024). spider(data,tle,rng,lbl,leg,f) (https://www.mathworks.com/matlabcentral/fileexchange/22708-spider-data-tle-rng-lbl-leg-f), 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.2.0.0

Thank you Daniel. Somehow two subfunctions got deleted. Do not know why / how. But fixed here.

1.1.0.0

Updated for MATLAB 2014 and newer (chop command was obsoleted)

1.0.0.0