define scatter3 colours in matlab
is there a way to control the colours in scatter3?
In my clustering problem I have 2 vectors A = 80x3 containing my data and
index containing the indices of the clusters. So for example the data
point A(i,1) A(i,2) A(i,3) belongs to the cluster index(i)
with
scatter3(A(:,1),A(:,2),A(:,3),50,index','filled') I plot all the
datapoints according to their clusters, but I would like to specify the
colour for each group of points.
I tried with the Help, but I didn't manage...
Thanks
No comments:
Post a Comment