Re: [R] Help with hclust() and plot()

About this list Date view Thread view Subject view Author view Attachment view

From: Tamas Papp (tpapp@axelero.hu)
Date: Fri 21 May 2004 - 23:35:20 EST


Message-id: <20040521133520.GB853@localhost>

On Fri, May 21, 2004 at 07:56:02AM -0400, Sean Davis wrote:

> The use for par is:
>
> > plot(1:8,1:8) #you must have an open graphics window before par has an effect

Instead of making a plot you will discard anyway (since you are making
another when par() takes effect), you might want to initialize the
device using the appropriate functions, eg x11(), postscript(), etc.

> > par(mar=c(5,4,4,2)) #this will stay in effect until you either close the
> graphics window or change it with another call to par
> > plot(1:8,1:8)
>
> In other words, par works on an open graphics device and applies to all
> subsequent plots to that device. You can't put it in the plot command--a
> bit awkward at times, but often does save time and is very general.

Best,

Tamas

-- 
Tamás K. Papp
E-mail: tpapp@axelero.hu
Please try to send only (latin-2) plain text, not HTML or other garbage.

______________________________________________ R-help@stat.math.ethz.ch 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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST