Clear Filters
Clear Filters

Heatmap indices labelling help

1 view (last 30 days)
Ankita
Ankita on 26 Nov 2013
Answered: Raghvi on 17 Feb 2023
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

Answers (1)

Raghvi
Raghvi on 17 Feb 2023
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:

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!