surface plot: How to assign colors to specific values

Hello, I have a matrix of values that I am surface-plotting with colormap jet. However, I want to specify a color (for example white) to some specific values of the matrix. Any idea of how I can proceed? Thanks

Question posée :

le 1 Avr 2013

Community Treasure Hunt

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

Start Hunting!

Translated by