Code covered by the BSD License  

Highlights from
Spider plot

4.42857

4.4 | 7 ratings Rate this file 12 Downloads (last 30 days) File Size: 2.38 KB File ID: #14875
image thumbnail

Spider plot

by Martti

 

04 May 2007 (Updated 01 Nov 2007)

Creates a spider (radar) plot

| Watch this File

File Information
Description

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

Required Products Statistics Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
05 May 2007 riaz khan  
06 May 2007 Dimitri Shvorob

Great job, Martti.

08 May 2007 Erik Stalberg

Very nice! Thanks

08 May 2007 Jammu Vuori

That´s super!

10 May 2007 Guy Current

Beautiful!!

14 May 2007 RALIHALIZARA Julliard

I've been seeking for it many times.
Now I find.
Nice job!
thanks!

18 Feb 2011 Zina  
Please login to add a comment or rating.
Updates
08 May 2007

Added an example and fixed the axis labels a bit.

16 May 2007

missing keyword

11 Jun 2007

With some older MATLAB versions there has been problems related to data scaling, I hope this helps.

01 Nov 2007

Doesn't work with versions prior to 2007a

Tag Activity for this File
Tag Applied By Date/Time
specialized Martti 22 Oct 2008 09:11:44
plotting Martti 22 Oct 2008 09:11:44
radar Martti 22 Oct 2008 09:11:44
spider Martti 22 Oct 2008 09:11:44
plot Martti 22 Oct 2008 09:11:44
kiviat Martti 22 Oct 2008 09:11:44
graph Martti 22 Oct 2008 09:11:44

Contact us at files@mathworks.com