Skip to Main Content Skip to Search
Product Documentation

addXLabel (clustergram) - Label x-axis of clustergram

Syntax

addXLabel(CGObject, Label)
addXLabel(CGObject, Label, 'Property1Name', Property1Value, 'Property2Name', Property2Value, ...)
H = addXLabel(CGObject)

Input Arguments

CGObject

Clustergram object created with the function clustergram.

Label

String used as the x-axis label in the Clustergram window.

Output Arguments

HHandle to a MATLAB text object used as the x-axis label for the clustergram.

Description

addXLabel(CGObject, Label) adds a label below the x-axis of a clustergram displayed in the Clustergram window.

addXLabel(CGObject, Label, 'Property1Name', Property1Value, 'Property2Name', Property2Value, ...) specifies text object properties for the x-axis label. For more information on the property name/property value pairs you can use to modify the text, see Text Properties.

H = addXLabel(CGObject) returns the handle to the text object used as the x-axis label for the clustergram.

Examples

Supply an x-axis label for the clustergram object created in the first two steps of the Examples section of the clustergram function reference page. Use 12-point, italic text for the label.

addXLabel(cgo, 'Diauxic Shift Times', 'FontSize', 12, ...
          'FontAngle', 'Italic')

Return a handle to the x-axis label text object, then use the set function to change the font size to 14 points.

h = addXLabel(cgo)
set(h, 'FontSize', 14)

See Also

addTitle | addYLabel | clustergram | get | plot | set | view

How To

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS