[R] Re : Changing the size of a plot

Pascal Oettli kridox at ymail.com
Wed Mar 7 11:14:12 CET 2012


Hi,

Before your plot:
   x11(width=x, height=y)

In your .Rprofile (Linux) or Rprofile.site (Windows):
  setHook(packageEvent("grDevices", "onLoad"), function(...) grDevices::X11.options(width=x, height=y)) 

where x and y are values you give for width and height of the window plot.

Regards,
Pascal



----- Mail original -----
De : ali_protocol <mohammadianalimohammadian at gmail.com>
À : r-help at r-project.org
Cc : 
Envoyé le : Mercredi 7 mars 2012 18h46
Objet : [R] Changing the size of a plot

Dear all,

Newbie.
How can I make R create a bigger window for my plot? Thank you in advance.

--
View this message in context: http://r.789695.n4.nabble.com/Changing-the-size-of-a-plot-tp4452761p4452761.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list