fix plot graphics and comment clause