How do i represent a set of clusters points in scatter plot?
69 views (last 30 days)
Show older comments
ahmed obaid
on 10 Feb 2017
Edited: Sameema Tariq
on 22 Dec 2020
dear experiences
i have dataset which has been clusters using k-means and stored in an excel file (clu.xlsx) , my data consist from 200 observations where :
first column is observation labels second column is x data values third columns is y data values fourth columns is cluster ids ( 1,2,3...K "clustering has done using k-means") and : cent= stored the centroids of my clusters
my question :
- - how do i can plot observation in scatter plot where i would like colored every points in cluster with different colors from other in other clusters.
- - then how to plot centroids also.
thanks for any suggestion
0 Comments
Accepted Answer
Massimo Zanetti
on 10 Feb 2017
4 Comments
Sameema Tariq
on 22 Dec 2020
Edited: Sameema Tariq
on 22 Dec 2020
Hey, how did you do that plotting of clusters? Kindly guide me.
More Answers (1)
ADRIAN RADILLO
on 12 Mar 2017
Hi. How can I use gscatter for 3D scatter plots? I know the function scatter3, but unfortunately the function gscatter3 DOESN'T exist. Could you help me please?
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!