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

1 visualizzazione (ultimi 30 giorni)
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...

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by