Borrar filtros
Borrar filtros

Density plot of clusters

4 visualizaciones (últimos 30 días)
Sajjad Ahmad Khan
Sajjad Ahmad Khan el 28 de Jun. de 2021
Respondida: Sajjad Ahmad Khan el 2 de Jul. de 2021
I have a localization plot as shown in the figure-1. The size of X & Y vectors are (6106,1) each. I want to make a density plot (as shown in the figure-2) in which the color map varies with cluster of points (yellow regions in figure-1). i.e. the clusters should be shown differently than the sparsely scattered points. Thanks!
  3 comentarios
Sajjad Ahmad Khan
Sajjad Ahmad Khan el 1 de Jul. de 2021
@Asvin Kumar thanks for your answer. Well I managed to plot the localizations using histcounts2 function followed by apply Gaussian filter and then plotting using imagesc function. See the plot in the 1st figure, whereas 2nd figure is binscatter.
Sajjad Ahmad Khan
Sajjad Ahmad Khan el 1 de Jul. de 2021
@Asvin Kumar Here is the binscatter plot.

Iniciar sesión para comentar.

Respuesta aceptada

Sajjad Ahmad Khan
Sajjad Ahmad Khan el 2 de Jul. de 2021
The points can be plotted using histcounts2 function followed by applying Gaussian filter and then plotting using imagesc function.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by