Make a plot with ksdensity in 3D or with a 3rd axis

조회 수: 11 (최근 30일)
Charles Adeniran
Charles Adeniran 2016년 3월 21일
답변: Faysal Andary 2023년 1월 30일
I would like to make a histogram plot using ksdensity in 3D. My plot looks similar to the example here;
In my example I have 15 different histograms, and this plot in 2D is very congested. I am trying to space them out along a 3rd axis so they can be observed better.

답변 (1개)

Faysal Andary
Faysal Andary 2023년 1월 30일
ksdensity works for 3d plots. Check the section "Plot Kernel Density Estimate of Bivariate Data" in the documentation here https://de.mathworks.com/help/stats/ksdensity.html

Community Treasure Hunt

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

Start Hunting!

Translated by