Outputting a ROC curve as a CSV?

Hello,

I am hoping to include some ROC curves as part of a research paper. As far I can find, the only way to output an ROC curve is as an image.

Is there any way to extract the curve’s x and y co-ordinates to recreate the graph in excel or origin?

Cheers,

Connor