heatmap

heatmap(x,labelsX,labelsY,o) plots a heat map from the values in x.
  • x can be a matrix or a table.
  • o is a struct containing the available options to customize the heat map.

Heatmap

[X, Y] = meshgrid(-5:0.8:10)
Z = sin(sqrt(X.^2 + Y.^2)) ./ sqrt(X.^2 + Y.^2)
heatmap(Z)

Related documentation

2D graphs - Overlaying Heat Map

See also

histogram | surf