Implemented plotting of three sets per dataset
Corrected output format