Patching surfaces with diffferent colors of your choice

2 次查看(过去 30 天)
I want two patch two surfaces with two different colors such as:
[0.9 0.9 0.8]
and
[1 0.9 0.6]
I use the command
patch('Faces',faces,'Vertices',verts,'Facecolor',[0.9 0.9 0.8])
But I don't know what to do to patch two different faces with two different colors. How can I do that?

回答(1 个)

Image Analyst
Image Analyst 2013-5-3
Say "hold on" and then call patch() again.

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by