Highlight/shade points in a scatter plot of a semi-transparent patch

조회 수: 1 (최근 30일)
Tom DeLonge
Tom DeLonge 2019년 2월 6일
댓글: Tom DeLonge 2019년 2월 6일
I have a scatter point with datapoints from different categories. I would like to highlight each category with a semi-transparent patch, as a "guide for the eye". Until now, I was drawing an ellipse to achieve this. This works only partly good, especially if the data points lie on a bent curve.
Also, an automated fashion to "cluster" those points would be nice.
Attached you see a version with ellipses, as it is right now... Especially the yellow part would be nice to be "banana-like" bent
askOnline.png
  댓글 수: 2
Adam
Adam 2019년 2월 6일
What is your actual question? An automated clustering algorithm that considers all those yellow points to be in the same group, and comes up with some kind of banana-shaped group to define that would not be trivial. But you said the data come from categories so are they not automatically clustered anyway, as in your plot above?
Tom DeLonge
Tom DeLonge 2019년 2월 6일
Sorry for not being clear. The data is clustered. I just want to highlight each cluster. The "algorithm" should just draw a smooth patch around that cluster.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by