Documentation

This is machine translation

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

addTitle (clustergram)

Add title to clustergram

Syntax

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

Input Arguments

CGObject

Clustergram object created with the function clustergram.

Title

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.

Description

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.

Examples

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?