Code covered by the BSD License  

Highlights from
Schemaball

Be the first to rate this file! 48 Downloads (last 30 days) File Size: 429 KB File ID: #42279
image thumbnail

Schemaball

by Oleg Komarov

 

18 Jun 2013 (Updated 24 Jun 2013)

Plot correlation matrix as a schemaball

| Watch this File

File Information
Description

Plots correlation matrix as a schemaball.

EXAMPLES:

- Base demo
schemaball

- Supply your own correlation matrix (only lower off-diagonal triangular part is considered)
x = rand(10).^3;
x(:,3) = 1.3*mean(x,2);
schemaball(x)

- Supply custom labels as ['aa'; 'bb'; 'cc'; ...] or {'Hi','how','are',...}
schemaball(x, repmat(('a':'j')',1,2))
schemaball(x, {'Hi','how','is','your','day?', 'Do','you','like','schemaballs?','NO!!'})

- Customize curve colors
schemaball([],[],[1,0,1;1 1 0])

- Customize node color
schemaball([],[],[],[0,1,0])

- Customize manually other aspects
h = schemaball;
set(h.l(~isnan(h.l)), 'LineWidth',1.2)
set(h.s, 'MarkerEdgeColor','red','LineWidth',2,'SizeData',100)
set(h.t, 'EdgeColor','white','LineWidth',1)

For details see help

TODO:
- generalize to allow as input any connectivity matrix providing examples, updated documentation (and added functionality?)

p13v1.01

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File  
Everyone's Tags
correlation, plot, schemaball
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
24 Jun 2013

Added link to fex page in the help.

Contact us