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

8 ビュー (過去 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