surface plot: How to assign colors to specific values
2 ビュー (過去 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!