A piece of fairly simple Matlab script to draw the ROC Curve from an array of scores and an array of labels. For a sample input, please refer to DrawROC which produces an output like this