在 Matlab 补丁图中,我可以重新着色多面体的特定面吗?

In Matlab patch plot, can I recolour a specific face of the polyhedron?

我想在下面的补丁图中为特定的面孔(比如第一张)重新着色,使其与所有其他面孔具有不同的颜色。这是多面体的代码:

clear;
faces = [1     3     5
         2     4     6
         1     3     6
         2     4     5
         1     4     5
         2     3     6
         1     4     6
         2     3     5];

vert = [8.6288   -1.4930    0.1330
       -8.6288    1.4930   -0.1330
       -1.6879   -4.9352   -6.3458
        1.6879    4.9352    6.3458
        2.9250    7.1153   -4.6262
       -2.9250   -7.1153    4.6262];

clf
axes();
xlabel('x');
ylabel('y');
zlabel('z');
patch('vertices',vert,'faces',faces, 'facecolor','blue', 'facealpha', 0.4);

它给出的补丁图:

不幸的是,由于 patch properties 文档中没有提供彩色地图的工作示例,我真的不知道该怎么做。

有人能帮帮我吗?谢谢!

hold on
faces2 = [1     3     5]; % the face you want to recolor
patch('vertices',vert,'faces',faces2, 'facecolor','red', 'facealpha', 0.4);