Re: [R] pretended size postscript and size of the graphic device window

From: Gavin Simpson <>
Date: Thu 04 Jan 2007 - 12:19:36 GMT

On Thu, 2007-01-04 at 12:21 +0100, mirca heli wrote:
> Dear list members!
> I've two questions concerning graphic export:
> a) I want to export my graphics as PostScript files. in this way I use
> the postscript() function. The tricky part is that they must have a
> pretended size (7 x 7 cm) and an absoulte font size (10pt).

If I understand you correctly, ?postscript contains all you need to know, eg:

postscript(file="foo.eps", paper="special", onefile=FALSE,

           width=7/2.54, height=7/2.54, pointsize=10, 

plot(rnorm(100), rnorm(100), main = "foo")

Is this what you wanted?

> b) how can i (permanent) change the size of the graphic device window?

This may well depend on your OS (unstated). I was looking for this the other day as the window is too big on my laptop - I didn't look to hard though so it is no surprise that I did not find a solution.


> Best regards
> mirca heli

 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e]
 Gower Street, London          [w]
 UK. WC1E 6BT.                 [w]

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Jan 05 01:51:57 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 04 Jan 2007 - 15:30:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.