I guess that the example under plotconfusion (malignant biopsies) is wrong. For example in MATLAB help we have:
"5 of the malignant biopsies are incorrectly classified as benign and this corresponds to 0.7% of all 699 biopsies in the data".
But it is not 5 and the number is 3 in the plotted matrix.
Similarly MATLAB writes:
"Similarly, 12 of the benign biopsies are incorrectly classified as malignant and this corresponds to 1.7% of all data."
While 12 must be 14.