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!