how to use ksdensity as a 3D info (color) on a 2D line plot
2 views (last 30 days)
Show older comments
Jonathan Roy
on 19 Jun 2015
Answered: Jonathan Roy
on 19 Jun 2015
Hi,
I did a multi (500+) simulations of the same event. I plot the enveloppe of these results (see picture)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151364/image.png)
now I want to use color to add a new info, the density on each day of sims, something looklike the next picture.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151366/image.jpeg)
I try ksdensity to define an empiric density but Im not abale to plot the both idea on a same graph...
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!