How to get 3D histogram with marginal histograms

조회 수: 1 (최근 30일)
Sanchit Sharma
Sanchit Sharma 2022년 3월 25일
답변: Torsten 2022년 3월 25일
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)

답변 (1개)

Torsten
Torsten 2022년 3월 25일

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by