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

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.

Answers (1)

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

Asked:

on 21 Mar 2016

Answered:

on 30 Jan 2023

Community Treasure Hunt

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

Start Hunting!