Patching surfaces with diffferent colors of your choice

1 view (last 30 days)
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?

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!