Have halved the plotting time by using a struct to keep track of the plots
and reusing plot objects.