未找到具有匹配签名的构造函数 'handle.listener'。
出错 rotateXLabels/addListeners (line 322)
handle.listener( axh, findprop( axh, 'FontName' ), 'PropertyPostSet',
@onAxesFontChanged )
出错 rotateXLabels/repositionAxes (line 220)
addListeners( ax );
出错 rotateXLabels (line 41)
repositionAxes( ax );
出错 draw_cm (line 27)
rotateXLabels(gca, 315 );% rotate the x tick
出错 compute_confusion_matrix (line 23)
draw_cm(confusion_matrix,name_class,num_class);
你好,我修改了一下,可以用各种美丽的颜色来装填混淆矩阵,到网盘下载即可(有帮助,请点击下方“采纳该答案”,支持一下我呢):
链接:https://pan.baidu.com/s/151a61aw50CgBtpztNq6cVQ
提取码:tj4a
一些效果: