On Mon, 8 Oct 2007, Eric Thompson wrote:

> Have you tried using pdf(), postscript(), or jpeg()? All of these have
> arguments to specify the height and width of the device.

And so does every other graphics device.  Note though that the 
height/width of the device is not that of a plot (nor necessarily of the 
figure): see the graphics pars 'pin' and 'fin' if you really want to 
specify the plot or figure size (as in the subject line).

`An Introduction to R' explains this in more detail'.

> On 10/8/07, Christoph Krammer <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I have another (possibly easy) question:
>>
>> How to specify the size of a plot? When I draw a plot, I can freely change
>> the size of the window, which is nice for single plots to find the best
>> height/width ratio, but as I need a lot of plots in my work, I want to look
>> them all the same, so I need to specify the size in advance.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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@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.

Reply via email to