File Exchange

image thumbnail

Parallel Coordinate Plots GUI toolbox

version (12.2 MB) by Barnaby
Visualize and manipulate parallel coordinate plots with this GUI. UNIVERSITY OF BRISTOL


Updated 01 Oct 2013

View Version History

View License

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

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

Cheers, Barney

Cite As

Barnaby (2021). Parallel Coordinate Plots GUI toolbox (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)


After running pcpnew.m Iam getting the following errors .I think the problem is with the directory.i didn't understand this directory
my_dir=pwd; %% 2nd line of your code pcpnew.m
Is directory named as pwd .Can somebody help me
Error using load
Unable to read file 'pcpnew.fig': no such file or

Error in graphics.internal.figfile.FigFile/read (line
hgDataVars = load(filename, '-mat', '-regexp',

Error in graphics.internal.figfile.FigFile (line 98);

Error in
(line 59)

Error in openfig (line 72)
[fig, savedvisible] = hgload(filename,

Error in gui_mainfcn>local_openfig (line 286)
gui_hFigure = openfig(name, singleton, visible);

Error in gui_mainfcn (line 159)
gui_hFigure = local_openfig(gui_State.gui_Name,
gui_SingletonOpt, gui_Visible);

Error in pcpnew (line 48)
gui_mainfcn(gui_State, varargin{:});

Bilgehan Erdem

Barnaby Dobson

Hi Martin,
You'll need to also click 'update figure'
I've tested this on 2016a, I'm not sure why it's so slow compared to on the earlier version

Martin Cermak

Is anyone else getting only an empty plot? I load my data, check the "plot raw data", click "create new figure", but all I can see is an empty plot. I've tried 2013b and 2016a Matlab versions.

You Ling

Thanks for the reply. This is certainly helpful.



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:


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

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

for i = 1 : dimnum
for j = 0 : 10
%I'm not sure how good a MATLAB function 'text()' is
%Doing ticks as shown in your graph would be more complicated

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!

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
I briefly went through the manual but couldn't find a way to implement that. Thanks!

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: dlmcell, Kmedoids

Community Treasure Hunt

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

Start Hunting!