small changs to plot generation for pdrs