Plotting a precision recall curve?

I would like to plot some PR curves for a few different applications:

• results on a test set for a (multilabel multiclass) classifier
• results on a test set for a CBIR function that returns ranked indices based on feature distance from a query image

Is there some way of using PredictorMeasurements or ClassifierMeasurements to do this?

• There may be a way to transform the “ROCCurve” property from ClassifierMeasurements into aPR curve.
• I'd like to show the averaging out of different PR curves if there are many test/query sets.

Perhaps someone can show a worked example of how to do this, or point to some package implementation?

References: