how show the clusters graphically?

조회 수: 3 (최근 30일)
huda nawaf
huda nawaf 2012년 8월 12일
댓글: avadh kushwaha 2021년 5월 6일
hi,
I got the indices of clusters of my data. I would like to see the result with drawing. i.e I hope to see the clusters graphically.
can do that?
thanks in advance

답변 (3개)

per isakson
per isakson 2012년 8월 13일
A search for "cluster" refined by Graphics in the File Exchange finds twenty contributions.
... and the statistical toolbox
  댓글 수: 3
Walter Roberson
Walter Roberson 2012년 8월 13일
Look at the Description at that link. It describes exactly what each of the parameters means.
Image Analyst
Image Analyst 2012년 8월 13일
There are no clusters in that data because your data is uniformly spaced. Or there are 6 clusters with just one point in them, or one big cluster with 6 points. You don't really have aggregation or clumping of any of the points.

댓글을 달려면 로그인하십시오.


Ilya
Ilya 2012년 8월 13일
Huda, when I answered your other question, I suggested that you run 'doc linkage' and gave you a link to the web doc for that function. At the bottom of that page, you can see examples of two different plots. Are you asking for a plot that is not on that page?
  댓글 수: 2
huda nawaf
huda nawaf 2012년 8월 13일
i saw , but I think scatter do not work with my case. please see comments below with image analyst
thanks
Ilya
Ilya 2012년 8월 13일
Use gscatter.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2012년 8월 13일
Why not just use the scatter() function? If that doesn't work, then explain why not, and use more words to do it.
  댓글 수: 31
Ilya
Ilya 2012년 8월 31일
load fisheriris
d = pdist(meas);
Z = linkage(d);
c = cluster(Z,'maxclust',4);
Y = cmdscale(d);
gscatter(Y(:,1),Y(:,2),c)
avadh kushwaha
avadh kushwaha 2021년 5월 6일
how i can draw same image in matlab plsease tell

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by