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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Sowmya Aggarwal
Sowmya Aggarwal am 24 Apr. 2017
scatterhist matlab function

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by