How do i using scatter plot in matlab to plot 2D or 3D data with new labels ?
Afficher commentaires plus anciens
Dear experiences
i have a dataset stored in an excel file, where data has labels from A1..An as in the following:
states Dim1 Dim2 part
A27 0.000961859 0.030987232 1
A127 0.015515794 0.047256875 1
A34 0.063094311 -0.188401909 2
A47 0.069889903 -0.162175315 2
A12 -0.351944163 -0.092892019 3
A112 0.108680014 -0.297203971 4
My questions are :
- How i can using scatter plot in matlab to plot the above labels as in the attached figure?
- Is there any option to plot every collection of points with distinct color like ( part1=black, part2=red, etc. )?
- fianlly, i need to create labels for every collection, my labels are part1, part2, part3, part4) based on my dataset, so i hope to this property can be performed based on Dim1 and Dim2 values range.
thanks for any suggestion.

4 commentaires
KSSV
le 9 Fév 2017
What is the criteria to divide Ai's into various parts?
ahmed obaid
le 9 Fév 2017
KSSV
le 9 Fév 2017
Then do you have these Ai's separately for each cluster?
ahmed obaid
le 9 Fév 2017
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Grid Lines, Tick Values, and Labels dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!