【问题标题】:How to make scatter plot matrix in matlab with different colors in one plot?如何在一个图中用不同颜色在matlab中制作散点图矩阵?
【发布时间】:2015-08-13 16:45:29
【问题描述】:

在 matlab 中 plotmatrix 可用于显示绘图矩阵。一个情节可以有不同的颜色吗?我有高维数据(例如 10 维),我想使用绘图矩阵显示它们。我想为不同的集群使用不同的颜色。

我希望它看起来像这样:

我还想以编程方式分配颜色,即拥有

colors=lines(numClusters);

然后为集群 i=1:n 分配

'Color',colors(i)

【问题讨论】:

    标签: matlab plot scatter plotmatrix


    【解决方案1】:

    gplotmatrix 命令可以用于此

    【讨论】:

    • 7组以上如何区分?
    猜你喜欢
    • 2019-03-14
    • 2018-01-14
    • 1970-01-01
    • 1970-01-01
    • 2014-10-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多