add image plotting