I made a Heat map. I want to remove the x and y axis ticks. How is that possible?
57 次查看(过去 30 天)
显示 更早的评论
I tried using set(gca............), but that is for plot. i am stuck at this.
2 个评论
Walter Roberson
2017-9-8
Is this the heatmap from the Bioinformations toolbox? https://www.mathworks.com/help/bioinfo/ref/heatmap.html
回答(3 个)
Walter Roberson
2017-9-9
There are no x and y axis ticks for the new R2017a heatmap object. There is at most the ticks inside the colorbar beside the drawing. Is it the colorbar tick marks that you want to remove?
10 个评论
Jesús Bernardino Velázquez Fernández
2023-8-22
编辑:Walter Roberson
2023-8-22
h=heatmap(x,y,c);
s=struct(h);
s.XAxis.Visible='off';
s.YAxis.Visible='off';
10 个评论
Din
2024-9-10,11:39
I actually want a Y axis to have fewer number of values than the number of rows of the data. Plz lemme know if there is a way to do this?
Din
2024-9-10,12:02
Also, when I save the figure, the original numbering (matching the dimensions of the data) overwrites the alternate numbering. Though, this problem can be solved by taking a screenshot of the figure, instead of saving it.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!