How to insert a create a colormap like this for fill3 plots?

2 次查看(过去 30 天)
I'm plotting a bunch of triangles using a for loop and the fill3 command as shown below. I want to do something like this example where a Z-range corresponds to a particular color.
Right now, I'm using fill3(x,y,z,'r') since I'm not really sure what else to do.

回答(0 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by