showing strings of text in heatmap (R2017a) images
21 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like to use the heatmap function that is newly available in Matlab R2017a to display information that may be either numbers or a string or text. For example, perhaps the first row might display in each square "n/a" and then other squares display numbers.
There is a Matlab heatmap example document that demonstrates doing such a thing, but I cannot get it to work for the data I am working on. It appears that the example is tied to the heatmap function as found previously in the bioinformatics toolbox.
So - I'm wondering if anyone has suggestions for how to display strings in the boxes in images created using the new heatmap function available in Matlab R2017a. Thank you.
0 Commenti
Risposta accettata
Walter Roberson
il 23 Set 2017
This is not supported by the new heatmap function.
The closest would probably be https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.heatmapchart-properties.html#property_d119e420284 MissingDataLabel
Più risposte (1)
Arthur Goldsipe
il 22 Set 2017
The example you link to is for a different heatmap function that someone created and uploaded to the MathWorks File Exchange. To learn more about the new heatmap function that now ships with MATLAB, take a look at the reference page.
Vedere anche
Categorie
Scopri di più su Data Distribution Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!