How do I remove the printed data on the heat map?

For a smaller matrix, the data seems to be present on the heatmap output. Also, I tried set(gca....) and "axis off" to remove the tick labels in the map, but that did not work.

3 Kommentare

We are still waiting for you to answer the question:
Is this the heatmap from the Bioinformations toolbox? https://www.mathworks.com/help/bioinfo/ref/heatmap.html
Or is it the new (R2017a) heatmap() that is for table objects?
It is the the new (R2017a) heatmap().
There are no x and y axis ticks for the new R2017a heatmap object.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Sep. 2017

0 Stimmen

How about using imshow?

Weitere Antworten (1)

Sachindra Dhanapala Arachchige
Bearbeitet: Image Analyst am 17 Nov. 2021

18 Stimmen

Just add the following to heatmap(.....), and you will not see the values in the heatmap cells.
heatmap(.......'CellLabelColor','none')

4 Kommentare

Thanks a lot for your Answer
AlessioX
AlessioX am 11 Jun. 2019
Spot on!
smaaaaart
Awesome!
Thank you.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by