On Wed, Sep 2, 2009 at 1:12 PM, Patrick Connolly<p_conno...@slingshot.co.nz> wrote: > On Wed, 02-Sep-2009 at 07:02AM -0700, Mark Knecht wrote: > > |> On Tue, Sep 1, 2009 at 9:06 AM, Mark Knecht<markkne...@gmail.com> wrote: > |> > Hi, > |> > I'm not understanding how the width & height parameters are > |> > supposed to work. When I execute the following 4 commands: > |> > > |> > X11() > |> > X11(width=20, height=20) > |> > X11(width=20, height=10) > |> > X11(width=40, height=40) > |> > > |> > I get the following *approximate* physical sizes on my screen: > |> > > |> > 6" x 6" > |> > 8" x 8" > |> > 12" x 6" > |> > 8" x 8" > |> > > |> > For now I'm assuming that my pointsize isn't quite the same as > |> > expected (1/72") which probably accounts for why I'm getting 6" > |> > windows instead of the default 7" window, but why does 20x20 == 40x40, > |> > and why on the 20x10 version do I get a 6" height? > |> > > |> > Thanks, > |> > Mark > |> > > |> > |> OK, not that anyone doing statistics actually cares about this post > |> but the internal rules appear to be this: > |> > |> 1) DOCUMENTED - X11 does not create an initial drawing window any > |> larger than 85% of the screen. On my system that's around 10" high on > > Where is that documented? In the help file, I see this: > > > width, height: the width and height of the plotting window, in inches. > If 'NA', taken from the resources and if not specified there > defaults to '7' inches. See also 'Resources'. > > That's what works on my machine. Just what happens if you specify > dimensions larger than the screen seems to be undocumented and I would > expect the unexpected and that's what you got. > > HTH > > -- > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > ___ Patrick Connolly > {~._.~} Great minds discuss ideas > _( Y )_ Average minds discuss events > (:_~*~_:) Small minds discuss people > (_)-(_) ..... Eleanor Roosevelt > > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. >
Read the help file. It's there. Not well written, but it's there and it does specifiy what happens when you use values larger than 7". I agree that if you do not specify the height and width you get something around 7". - Mark ______________________________________________ R-help@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.