PRTools Contents

PRTools User Guide

plotdg

PLOTDG

Plot dendrogram

    PLOTDG(DENDROGRAM,K,FLIP)

Input
 DENDROGRAM Dendrogram
 K Number of clusters
 FLIP FALSE (default) or TRUE

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.

This routine also accepts dendrograms computed by Matlab's LINKAGE

See also

hclust, linkage,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.