Patching surfaces with diffferent colors of your choice
Show older comments
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
on 3 May 2013
1 vote
Say "hold on" and then call patch() again.
Categories
Find more on Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!