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.

addTitle (clustergram)

Add title to clustergram


addTitle(CGObject, Title)
addTitle(CGObject, Title, 'Property1Name', Property1Value, 'Property2Name', Property2Value, ...)
H = addTitle(CGObject)

Input Arguments


Clustergram object created with the function clustergram.


Character vector used as the title in the Clustergram window.

Output Arguments

HHandle to a MATLAB® text object used as the title for the clustergram.


addTitle(CGObject, Title) adds a title above the clustergram displayed in the Clustergram window.

addTitle(CGObject, Title, 'Property1Name', Property1Value, 'Property2Name', Property2Value, ...) specifies text object properties for the title. For more information on the property name/property value pairs you can use to modify the text, see Text Properties.

H = addTitle(CGObject) returns the handle to the text object used as the title for the clustergram.


Supply a title for the clustergram object created in the first two steps of the Examples section of the clustergram function reference page. Use 14-point, italic text for the title.

addTitle(cgo, 'Expression Levels During Diauxic Shift', ...
           'FontSize', 14, 'FontAngle', 'Italic')

Return a handle to the title text object, then use the set function to change the font size to 16 points.

h = addTitle(cgo)
set(h, 'FontSize', 16)

Introduced in R2009b

Was this topic helpful?