[R] small ps

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Jun 20 16:53:03 CEST 2002

On Thu, 20 Jun 2002, Rafael A. Irizarry wrote:

> Ive created a postscript files that looks just like I want it to look
> except instead of being 6'' x 6'' i want it to be 2''x 2''. i used the
> postscipt() function (R 1.5.1 on redhat). if i use width and
> height in par to change the scale the figure looks terrible cause
> cex,mar,etc.. dont appear to change.
> before i start tinkering with the cex's and mar... is there an easier way
> to make the figure exactly the same but at a smaller scale?

1) Do the shrinking with a postscript wrapper or
2) Change pointsize proportionally to width and height.

Take a look at dev.print, for example.

Brian D. Ripley,                  ripley at 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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list