Hi


[EMAIL PROTECTED] wrote:
hi all,

i'm trying to plot a dendrogram with labeled leaves

rownames(f)<-v.names
v<-rowMeans(f, na.rm=T)
clust<-hclust(dist(v))
dend<-as.dendrogram(clust,hang=0.05)
clust2<-cut(dend, h=0.5)
class(clust2$low[[1]])
[1] "dendrogram"

then


plot(clust2$low[[1]],horiz=TRUE,frame=F,type = "tr"))

but my leaf labels do not fit entirely in the plot region. Has anyone an idea how to get around this without using cex , something similar to "hang=0.5" so that my labels do not start to hang from 0 ?


Does making the bottom figure margin bigger help?  e.g., ...

par(mar=c(10, 4, 4, 2))

Paul
--
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
[EMAIL PROTECTED]
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to