5.0

5.0 | 1 rating Rate this file 16 Downloads (last 30 days) File Size: 12.2 MB File ID: #43611
image thumbnail

Parallel Coordinate Plots GUI toolbox

by

 

24 Sep 2013 (Updated )

Visualize and manipulate parallel coordinate plots with this GUI. UNIVERSITY OF BRISTOL

| Watch this File

File Information
Description

Hi, this is my first GUI so I would appreciate feedback on best practice and bugs.

Start by running from pcpnew.m, please read Manual.docx.

Works for 20 or less dimensions and datasets of any number of members (at the cost of speed).

Functionality:
Clusters, groups, envelopes, density plots, filtering, dimension manipulation and many display options.

Cheers, Barney

Acknowledgements

Write Cell Array To Text File and K Medoids inspired this file.

Required Products Statistics Toolbox
MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Other requirements Tested on MATLAB 2010.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
22 Oct 2013 You Ling

Thanks for the reply. This is certainly helpful.

18 Oct 2013 Barnaby

@You

There is currently no functionality in the code to allow for this. When I

next update it I'll add a checkbox for it, thanks for the idea!

To achieve this you should enter the pcpnew.m file and change line 743 to:

set(misc_axes,'Tag','misc_axes','color','none');

(Probably do that anyway, I'm putting it in the next version)

Then (depending what settings you want this for), after line 774 put:

Max=NaN(1,5);
Min=Max;
for i = 1 : dimnum
Max(i)=max(data_raw(:,i));
Min(i)=min(data_raw(:,i));
g=Min(i):(Max(i)-Min(i))/10:Max(i);
for j = 0 : 10
text(i,j/10,num2str(g(j+1)),'FontSize',10,'parent',h.axes);
%I'm not sure how good a MATLAB function 'text()' is
%Doing ticks as shown in your graph would be more complicated
end
end

This will look pretty crude; for a start I'd delete lines 745 to 753 to get rid of the original y axis labelling. Also it won't be compatible with flipping, setting scale or probably ordering.
Hope that helps!

17 Oct 2013 You Ling

Barnaby, thanks for sharing this toolbox. Is it possible to have multiple y-axes with different sets of ticks on the parallel coordinate plot? For example, something looks like http://mbostock.github.io/d3/talk/20111116/iris-parallel.html
I briefly went through the manual but couldn't find a way to implement that. Thanks!

Updates
01 Oct 2013

Updated plotting labelling

Contact us