Skip to main content
1 of 2
Murta
  • 26.4k
  • 6
  • 77
  • 168

Here is another approach:

data = RandomReal[1, {10, 5}];
dataNorm=Accumulate@Normalize[#,Total]&/@ data;
setLength=Length@data[[1]];
colors = <|1->Red,2->Blue,3->Green,4->Orange,5->Purple|>;

ListPlot[Transpose@dataNorm
        ,Joined->True
        ,Filling -> Table[i -> {{i-1}/.{0}-> 0, colors[i]} ,{i,setLength}]
        ,DataRange-> {0,1}
]

Accumulated Plot

Murta
  • 26.4k
  • 6
  • 77
  • 168