func GeneratePlots(stats unit.Stats, verbose bool) {
	fname := ""
	persist := true
	debug := verbose
	plotsDirectory := plotsDIR
	if os.Getenv("PLOTS_DIR") != "" {
		plotsDirectory = os.Getenv("PLOTS_DIR")
	}
	gnuplot.Initialize()
	generateDelayStartPlot(fname, persist, debug, plotsDirectory, stats)
	if len(stats.Start) > 0 {
		generateUnitsStartPlot(fname, persist, debug, plotsDirectory, stats)
	}
	if len(stats.Stop) > 0 {
		generateUnitsStopPlot(fname, persist, debug, plotsDirectory, stats)
	}
	if len(stats.Start) > 0 {
		generateUnitsStartCountPlot(fname, persist, debug, plotsDirectory, stats)
	}
	if len(stats.Start) > 0 {
		generateUnitsStopCountPlot(fname, persist, debug, plotsDirectory, stats)
	}
	if len(stats.Start) > 0 {
		generateUnitsStartMultiPlot(fname, persist, debug, plotsDirectory, stats)
	}
}
GeneratePlots creates some initial plots from the collected metrics. Three
are the initial plots: start operation completion time/delay, stop operation
completion time/delay and cluster metrics for systemd and fleetd.
package output
import (
	"fmt"
	"os"
	"time"
	"github.com/giantswarm/nomi/log"
	"github.com/giantswarm/nomi/output/gnuplot"
	"github.com/giantswarm/nomi/unit"
)
const plotsDIR = "/nomi_plots"
var processTypes = []string{"fleetd", "systemd", "etcd"}