March 23, 2011

How to create stacked area graphs with Gnuplot

If you tell gnuplot to plot those numbers as simple lines they'll continuously overlap, making hard to see quickly which is higher in each moment, or how they all add up. I find that stacked filled graphs like the one here are much easier to understand, but I couldn't find how to do them with Gnuplot. Until now that is. I have put the Gnuplot command and auxiliary script to plot diagrams like this here.