From: Tamas Papp (email@example.com)
Date: Fri 21 May 2004 - 23:35:20 EST
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.
-- Tamás K. Papp E-mail: firstname.lastname@example.org Please try to send only (latin-2) plain text, not HTML or other garbage.
______________________________________________ Remail@example.com 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
This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST