How can display overlaying lines as darker? Using for lines for density plot

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.

 採用された回答

その他の回答 (1 件)

Image Analyst
Image Analyst 2016 年 4 月 16 日
編集済み: Image Analyst 2016 年 4 月 16 日
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.

カテゴリ

質問済み:

2016 年 4 月 16 日

コメント済み:

2016 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by