view
Display heatmap or clustergram
Syntax
Description
view( displays a heatmap or
clustergram of hm_cg_object)hm_cg_object.
Examples
Create a matrix of data.
data = gallery('invhess',20);Display a 2-D color heatmap of the data.
hmo = HeatMap(data);
Standardize: '[column | row | {none}]'
Symmetric: '[true | false].'
DisplayRange: 'Scalar.'
Colormap: []
ImputeFun: 'string -or- function handle -or- cell array'
ColumnLabels: 'Cell array of strings, or an empty cell array'
RowLabels: 'Cell array of strings, or an empty cell array'
ColumnLabelsRotate: []
RowLabelsRotate: []
Annotate: '[on | {off}]'
AnnotPrecision: []
AnnotColor: []
ColumnLabelsColor: 'A structure array.'
RowLabelsColor: 'A structure array.'
LabelsWithMarkers: '[true | false].'
ColumnLabelsLocation: '[ top | {bottom} ]'
RowLabelsLocation: '[ {left} | right ]'

Display the data values in the heatmap.
hmo.Annotate = true; view(hmo)

Use the plot function to display the heatmap in another figure specified by the figure handle fH.
fH = figure; hA = plot(hmo,fH);

Use the returned axes handle hA to specify the axes properties.
hA.Title.String = 'Inverse of an Upper Hessenberg Matrix'; hA.XTickLabelMode = 'auto'; hA.YTickLabelMode = 'auto';

Input Arguments
Heatmap or clustergram object, specified as a HeatMap object or clustergram object.
Version History
Introduced in R2009b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)