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

9 次查看(过去 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