Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Matlab 中构建了一个混淆矩阵,我希望以图形方式显示它。
这是我正在尝试做的一个很好的例子:如何可视化显示颜色和值的矩阵?
但是,我希望将一个颜色图应用于对角线(即白色到绿色)和一个非对角线(即白色到红色)。
我怎样才能做到这一点?