How to generate colormap for specific matrix?
이전 댓글 표시
I have matrix with values and corresponding index number or class number. I want to generate a colormap based on the values of the matrix not the on index number. I have attached a file, where first column indicates values and 2nd column is class number. I am able to do it based on the class number. But, I want to generate a colomap based on the values provided in 1st column in myfile. Means if these values [ 315.2184 315.828 323.7528 323.9052 338.3832 ] are present in an array it will be red color and so on.
Please suggest me as I am unable to do that. Thank you.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!