SOM Toolbox | Online documentation | http://www.cis.hut.fi/projects/somtoolbox/ |
h = som_clplot(sC,varargin)
SOM_CLPLOT Visualize clustering. h = som_clplot(sC, [[argID,] value, ...]) som_clplot(sM, part) som_clplot(sC); som_clplot(som_clstruct(Z)) som_clplot(sC,sM); som_clplot(sC,'coord',P); som_clplot(sC,'dendrogram',[1 1 1 1 0 0 1 1 0 0 1]); som_clplot(sC,'linewidth',10); som_clplot(sC,'size',10); som_clplot(sM,part); Input and output arguments ([]'s are optional): sC (struct) clustering struct, as produced by SOM_CLSTRUCT [argID, (string) See below. Each pair is the fieldname and value] (varies) the value to be given to that field. sM (struct) map struct part (vector) length = munits, partitioning for the map h (vector) handles to the arcs between Here are the valid argument IDs and corresponding values. The values which are unambiguous (marked with '*') can be given without the preceeding argID. 'linecolor' (string) color of the arc lines, 'k' by default (vector) size 1 x 3 'linewidth' (scalar) width of the arc lines 'size' (vector) length 2*clen-1, sizes for each of the cluster markers (scalar) this size is used for all cluster markers 'dendrogram'(vector) size 2*clen-1, indicates which clusters are shown in the dendrogram *(string) 'on' or 'off' ('on' by default) 'coord' (matrix) size dlen x odim, the coordinates for the data. If odim<=2, these are used as is. Otherwise a 2-dimensional PCA-projection is first made (see function PCAPROJ). These coordinates are applied also to the clusters. *(struct) data struct: as above map or topology struct: the coordinates given by SOM_VIS_COORDS are used for the data 'color' (matrix) size dlen x 3, color for each data. By default the colors defined for base clusters are used (sC.color(sC.base,:)). For ignored data figure background color is used. (vector) size dlen x 1, indexed colors are used See also SOM_CLSTRUCT, SOM_LINKAGE, SOM_CLPRUNE, LINKAGE, DENDROGRAM.