added an aggregate plotting routine