How can display overlaying lines as darker? Using for lines for density plot
Afficher commentaires plus anciens
In short, I would like to produce a plot as shown below. The problem is when I plot multiple lines, their colour stays the same. So two overlaying lines will have the colour of the top line, instead I would like to have these lines displayed as darker. Is there a way to do this in matlab.

I am open to suggestion of alternatives plots for pdf's along a line.
Any help would be greatly appreciated.
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 16 Avr 2016
Modifié(e) : Image Analyst
le 16 Avr 2016
Why not simply store all those curves into a 2-D array, and then take the mean vertically:
meanCurve = mean(allCurves, 1);
Or you could use the median instead of the mean.
Catégories
En savoir plus sur Process Point Clouds dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!