Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

plot (HeatMap)

Render heat map for HeatMap object

Syntax

plot(HMObject)
plot(HMObject, HFig)
H = plot(...)

Arguments

HMObject

HeatMap object created with the function HeatMap

HFigHandle to a MATLAB figure
HHandle to the axes of the MATLAB® figure created

Description

plot(HMObject) renders a heatmap for HMObject, a HeatMap object, in a MATLAB Figure window.

plot(HMObject, HFig) renders a heatmap for HMObject, a HeatMap object, in a MATLAB figure specified by HFig.

H = plot(...) returns the handle to the axes of the figure created. For a list of axes properties, see Axes Properties.

Examples

collapse all

Create a matrix.

data = gallery('invhess',20);

Create a HeatMap object. The HeatMap function also displays the heatmap of the input data.

hm = HeatMap(data);

You can also use the plot function to display the heatmap of the object once created.

plot(hm);

Introduced in R2009b

Was this topic helpful?