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

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...

 채택된 답변

Jonathan Roy
Jonathan Roy 2015년 6월 19일

0 개 추천

Update, I find scatter3.
It is not perfect but it do the job for a first test... somenone find better?

추가 답변 (0개)

질문:

2015년 6월 19일

답변:

2015년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by