


Used to display a confusion matrix.
See confMatrix for general format and info on confusion matricies. This
function normalizes the CM before displaying, hence all values range in
[0,1] and rows sum to 1.
USAGE
confMatrixShow( CM, [types], [pvPairs], [nDigits], [showCnts] )
INPUTS
CM - [nTypes x nTypes] confusion array -- see confMatrix
types - [] cell array of length nTypes of text labels
pvPairs - [{'FontSize',20}] parameter / value list for text.m
nDigits - [2] number of digits after decimal to display
showCnts - [0] show total count per row to the right
OUTPUTS
EXAMPLE
CM = randint2(6,6,[1,100])+eye(6)*500;
types = { 'anger','disgust','fear','joy','sadness','surprise' };
confMatrixShow( CM, types, {'FontSize',20}, [], 0 )
title('confusion matrix','FontSize',24);
See also confMatrix, imLabel, dispMatrixIm
Piotr's Image&Video Toolbox Version 2.50
Copyright 2010 Piotr Dollar. [pdollar-at-caltech.edu]
Please email me if you find bugs, or have suggestions or questions!
Licensed under the Lesser GPL [see external/lgpl.txt]