Automatically generates the gnuplot command for stacked
histograms.