Skip to Main Content Skip to Search
Product Documentation

addYLabel (clustergram) - Label y-axis of clustergram

Syntax

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

Input Arguments

CGObject

Clustergram object created with the function clustergram.

Label

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

Output Arguments

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

Description

addYLabel(CGObject, Label) adds a label to the left of the y-axis of a clustergram displayed in the Clustergram window.

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

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

Examples

Supply a y-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.

addYLabel(cgo, 'Genes', 'FontSize', 12, 'FontAngle', 'Italic')

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

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

See Also

addTitle | addXLabel | 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