Heatmap indices labelling help
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Raghvi
2023년 2월 17일
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:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!