How do i using scatter plot in matlab to plot 2D or 3D data with new labels ?
이전 댓글 표시
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
KSSV
2017년 2월 9일
What is the criteria to divide Ai's into various parts?
ahmed obaid
2017년 2월 9일
KSSV
2017년 2월 9일
Then do you have these Ai's separately for each cluster?
ahmed obaid
2017년 2월 9일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!