[R] Par arguments and pin and fin

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Oct 4 11:42:10 CEST 2000


"Redding, Matthew" <ReddinM at prose.dpi.qld.gov.au> writes:

> Hi R Gurus, 
> 
> I want to change the size and shape of the plot region, but cannot work out
> how to use the arguments pin and fin in the par() function e.g. :
> par(lwd=1.5, font=1, mfrow=c(2,1), pty="m", plt=c(.1,.9, 0.1,.9),
> mar=c(1,4,0.1,0.1)
> 	pin=c(6,12))
> this gives me a syntax error associated with pin.  How should I be using
> these arguments?

Um, with commas in between? (One is missing in line 2(

You can't increase pin & fin beyond the size of the plot window and
still get plots to work. I don't think there's a way to change the
window size using R commands. You can, however, resize the window
manually, or use the width and height arguments when opening the
driver.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list