How to make a 2D scatter-plot with histogram bars for each axis?

3 visualizaciones (últimos 30 días)
While I managed to draw a - yet - quite ugly 2D scatter plot of two data sets into the same plot, I'd like to add histogram bars for both sets for each axis. Just like this figure here: Phyton plot . How is this possible in Matlab? Any help, links, code examples etc. are appreciated.

Respuesta aceptada

Sowmya Aggarwal
Sowmya Aggarwal el 24 de Abr. de 2017
scatterhist matlab function

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by