Heatmap indices labelling help

2 visualizaciones (últimos 30 días)
Ankita
Ankita el 26 de Nov. de 2013
Respondida: Raghvi el 17 de Feb. de 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

Respuestas (1)

Raghvi
Raghvi el 17 de Feb. de 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:

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by