1.65 FAQ-187 How can I create a heatmap?

Last Update: 11/18/2024

Origin supports plotting XY data, XYZ data or matrix data as heatmap and 4 built-in heatmap graph templates Heatmaps, Heatmaps with Labels, Split Heatmaps are available from Plot: Contour menu and 3D Stacked Heatmaps from Plot: 3D menu.
There are also extra heatmap templates such as Triangle Heatmap and Heatmap with Significant Mark online for download from Tools: Template Center...


When plotting from XY columns or XYZ columns, 2D binning is done on XY data to calculate statistics quantities e.g. counts, mean, max, etc. in each bin to create a Heatmap worksheet. The heatmap graph is created based on the new Heatmap sheet.

Heatmap.png


To adjust axis tick labels


To add labels on heatmap

Heatmap label.png


To add map on background If XY is longitude and latitude, there are several ways to add map on background.

Heatmap us.png


To add gap between in heatmap cells

FAQ187 split heatmap.png



More resources:



Keywords:heatmap, contour, virtual matrix, split heatmap