Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: dendrogram problem
Posted:
Apr 22, 2012 5:34 AM


Peter Perkins <Peter.PerkinsRemoveThis@mathworks.com> wrote in message <fc1qjg$cjf$1@fred.mathworks.com>... > Eitan wrote: > > from dendrogram help: > > "A dendrogram consists of many Ushaped lines connecting > > objects in a > > hierarchical tree. The height of each U represents the > > distance between the > > two objects being connected. If there were 30 or fewer data > > points in the > > original dataset, each leaf in the dendrogram corresponds > > to one data point. > > If there were more than 30 data points, the complete tree > > can look crowded, > > and dendrogram collapses lower branches as necessary, > > so that some leaves in the plot correspond to more than one > > data point." > > so i guess thers not much you can do. maybe write your own > > code. > > Another alternative would be to read the next paragraph of the help: > > "DENDROGRAM(Z,P) generates a dendrogram with no more than P leaf nodes, by > collapsing lower branches of the tree. To display the complete tree, set P = 0."
>> Dear the one solution to use more than 30 data points in the deprogram is to use the following code
p=0; [H,T]=dendrogram(Z,p);
i tested it. it is working now but it display only one color dendrogram....
if you display colored dendrogram of more than 30 data points then please share that one also.
thanks



