how to use ksdensity as a 3D info (color) on a 2D line plot

1 view (last 30 days)
Hi,
I did a multi (500+) simulations of the same event. I plot the enveloppe of these results (see picture)
now I want to use color to add a new info, the density on each day of sims, something looklike the next picture.
I try ksdensity to define an empiric density but Im not abale to plot the both idea on a same graph...

Accepted Answer

Jonathan Roy
Jonathan Roy on 19 Jun 2015
Update, I find scatter3.
It is not perfect but it do the job for a first test... somenone find better?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!