How to generate colormap for specific matrix?
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Color and Styling in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!