added ggplot functionality to predcurve plots