code for generating png with plot