Respected Sir, I want to do a program which gives dendrogram like UPGMA a clustering method, but i want this dendrogram by using single linkage or centroid method.Can u help me for this.U have given the code for tree but i want dendrogram as output by using above any method. Thanks for anticipating. Regards, Sandhya Khatal.