Heatmap indices labelling help
显示 更早的评论
Hi, I needed help to generate a heatmap of my matrix. I used the following command and generated something like this: HMobj = HeatMap(AMHMpcacc, 'colormap', redbluecmap). However, I want to project it similar to this link here and also I am unable to figure out how to label the indices i.e. the length and breadth of it as it is 498 X 498 matrix. Example:
However, I would want to know how to project it as follows: http://origin-ars.els-cdn.com/content/image/1-s2.0-S002228360800301X-gr2.jpg
https://www.mpibpc.mpg.de/276262/paper_correlations_nmr_angewandte.pdf
Also, if there is a way to highlight and magnify certain regions?
Any help will be much appreciated.
Kind regards
回答(1 个)
Raghvi
2023-2-17
0 个投票
Hey,
You can use the given documentation to understand how to change the appearance of your heatmap. Use XLabel and YLabel to add label to your map. You can also define colourmap to change the color scheme.
Check out the Labels, Color and Styling sections:
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!