surface plot: How to assign colors to specific values
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Walter Roberson
2013-4-1
See the CData and CDataMapping properties of Surface plots. http://www.mathworks.com/help/matlab/ref/surface_props.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!