PRTools contents

PRTools manual

plotdg

PLOTDG

Plot dendrogram

    PLOTDG(DENDROGRAM,K)

Input
 DENDROGRAM Dendrogram
 K Number of clusters

Output

Description

Plots a dendrogram as generated by HCLUST. If the optional K is given the  dendrogram is compressed first to K clusters. Along the horizontal axis  the numbers stored in DENDROGRAM(1,:) are written as text. The dendrogram  itself is defined by DENDROGRAM(2,:) in which each entry stands for the  level on which the previous and next group of objects are clustered.

See also

hclust,

PRTools contents

PRTools manual