<< group_by CHE3007S histogram >>

CHE3007S >> CHE3007S > heatmap

heatmap

Function to plot a colour encoded matrix as a heatmap

Syntax

heatmap(data)
heatmap(data, num_points)
heatmap(data, num_points, colormap)
heatmap(data, num_points, colormap, [c_min c_max])
heatmap(data, num_points, colormap, [c_min c_max], annot)
heatmap(data, num_points, colormap, [c_min c_max], annot, mask)

Parameters

num_points:

Number of points for the colormap/colorbar

colormap:

Provide a colormap function to use to generate a colormap

c_min:

Minimum value for colormap

c_max:

Maximum value for colormap

annot:

Annotation of values on graph, %t or %f

mask:

A mask matrix of ones and zeros to apply to the data, where 1 indicates data to be plotted, and 0 indicates data to be ignored


Report an issue
<< group_by CHE3007S histogram >>