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: [EMAIL PROTECTED]
Please try to send only (latin-2) plain text, not HTML or other garbage.

______________________________________________
[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