Problem in making heatmap
Mostra commenti meno recenti
I have array called CV which has a value that can be 0 to 1 or bigger than one. CV is an array that has 35 values. I want to make a heatmap to show the value of each CV. I wasn the zero to be very ligth green as it increases to 1 becomes darker green and after one becomes red.
I was thinking I can use h = heatmap(xvalues,yvalues,cdata) line but I dont know what would be corresponding x and y and how I can design colors?
Any help would be highly appreciated.
I attached the EXCEL and sample image of it.
3 Commenti
Cris LaPierre
il 3 Ott 2019
Can you attach a sample data set for us to play around with?
Zeynab Mousavikhamene
il 3 Ott 2019
Modificato: Zeynab Mousavikhamene
il 3 Ott 2019
Cris LaPierre
il 3 Ott 2019
How do you envision your heatmap being arranged? These are usually grids. Your data would be a single column.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!