Borrar filtros
Borrar filtros

How to get 3D histogram with marginal histograms

5 visualizaciones (últimos 30 días)
Sanchit Sharma
Sanchit Sharma el 25 de Mzo. de 2022
Respondida: Torsten el 25 de Mzo. de 2022
Hello,
I know about the scatterhist() function of the MATLAB, but is it possible to get marginal histograms on a bivariate tiled histogram, like the one presented below. Please help me with some examples. Thanks.
load carbig
X = [MPG,Weight];
hist3(X,'CdataMode','auto')
xlabel('MPG')
ylabel('Weight')
colorbar
view(2)

Respuestas (1)

Torsten
Torsten el 25 de Mzo. de 2022

Categorías

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

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by