[R] X11 plot window sizes

Patrick Connolly p_connolly at slingshot.co.nz
Wed Sep 2 22:12:06 CEST 2009


On Wed, 02-Sep-2009 at 07:02AM -0700, Mark Knecht wrote:

|> On Tue, Sep 1, 2009 at 9:06 AM, Mark Knecht<markknecht at 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
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.




More information about the R-help mailing list