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

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.

Risposte (0)

Categorie

Prodotti

Richiesto:

il 9 Nov 2013

Community Treasure Hunt

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

Start Hunting!

Translated by