How to find overlapping in scatter plot

2 visualizaciones (últimos 30 días)
Ali Asghar
Ali Asghar el 13 de Ag. de 2020
Comentada: Image Analyst el 16 de Ag. de 2020
Dear
I created scatter plot and need to find degree of overlapping.
Kindly guide the way.
Thank you
  2 comentarios
Walter Roberson
Walter Roberson el 13 de Ag. de 2020
What does degree of overlap mean in this context?
Ali Asghar
Ali Asghar el 13 de Ag. de 2020
As you see the attached image, different symbols show different data classes. I need to find out how classes are closer to each others.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Ag. de 2020
Within each of the 20 plots, each symbol has a pair of coordinates, one for x value and the other for y value. Now order the 20 plots in any order (subplot order is fine). For each of the four classes, go through the plots and list off the x coordinate and then the y coordinate. For each of the classes this would be a list of 40 numbers: x1 y1 x2 y2 x3 y3... x20 y20
You would have this list of 40 numbers for each class.
Now you can interpret that list of 40 numbers as coordinates in a 40 dimensional space.
Now that you have a 40 dimensional coordinate for each class, you can calculate the distance between 40D points.
If you only have 4 classes like your sample plot then I would not expect you would get much usable information out of it. If you have many more classes then you could start using clustering techniques.
  2 comentarios
Ali Asghar
Ali Asghar el 13 de Ag. de 2020
what is simple way?
i have 4 picture, each picture subplot of 4x5.
Image Analyst
Image Analyst el 16 de Ag. de 2020
Attach your data and show us what you want to obtain.

Iniciar sesión para comentar.

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by