[R] How to make labels on my dendrogam look more clear and visible

Charles Annis, P.E. AnnisC at ASME.org
Fri Oct 28 05:19:36 CEST 2005


I feel a bit timid in asking this question:  Why create the PS?  Why not
create the pdf directly?

?pdf

You have lots of control over the size and other characteristics, and the
pdf can be used by MiKTeX to create a TeX -> pdf document containing your
graphic.

I'm running R 2.2.0 on a DELL WinXP machine.

Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of jon butchar
Sent: Thursday, October 27, 2005 8:02 PM
To: Srinivas Iyyer
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] How to make labels on my dendrogam look more clear and
visible

On Thu, 27 Oct 2005 16:08:48 -0700 (PDT)
Srinivas Iyyer <srini_iyyer_bio at yahoo.com> wrote:

> Dear group, 
>  I have a matrix with readings for ~180 variables
> observed in 240 conditions. 
> 
> I am doing a hierarchical clustering method (hclust)
> by calculating eucledian distances among them. 
> 
> When I plot the dendrogram from hclust, all my
> variables at the end of the branches are cluttered. I
> cannot read them properly. 
> 
> I tried using :
> > x11(width = 100, height = 70, pointsize = 10)
> >plot(mydat.hcluster)
> 
> 
> and also by
> 
> >x11(width = 1000, height = 300, pointsize = 10)
> >plot(mydat.hcluster)
> 
> I could not make the dendrogram branches go wide and
> make variables at the end of braches more legible. 
> 
> 
> Can any one please help me to make a good diagram so
> that I can see the lables at the end of branches more
> clearly. 
> 
> Thank you. 
> 
> cheers
> Sri
> 


I don't know if it'll help, but I've grown fond of postscript graphs.

For example...

> postscript("mydendogram.ps", height=800, width=2000, pointsize=[????])
> plot(mydendogram)
> dev.off()

gives me very clear print, and then the ps2pdf app can turn it into a pdf
for e-mailing or import to a presentation.

jon b

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




More information about the R-help mailing list