Re: [R] Graphic size with X11 device

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Wed 05 May 2004 - 18:54:30 EST


Message-id: <Pine.LNX.4.44.0405050951130.11717-100000@gannet.stats>

Are you using par(mfrow)? If so, that changes the base cex for layouts
with 2 or more rows and columns.

Otherwise, the text size should be the same, but in calculating the window
size you have to compute the device not plot region, that is included the
margins (and outer margins) which are of fixed size.

I would use par(mfrow=c(2,2)) on all windows, and accept that there will
be white space on the last one.

On Wed, 5 May 2004, Laetitia Marisa wrote:

> I have done a script that make multiple graphics : one graphic per
> columns of my data matrix and one x11 window every 4 graphcis. For
> example, if my matrix has 6 columns, there will appears one x11 window
> with 4 graphics and a second one with the last 2 graphics.
> I wanted that all graphics have the same size so when I open x11 I
> specify width and height proportional to the number of lines expected by
> window. But in the second windows it is always different in size of the
> graphics, in size of the points and in size of the text.
> What do i miss?

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ R-help@stat.math.ethz.ch 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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST