[R] Figure rotation

R.E. Darnell r.e.darnell at ncl.ac.uk
Wed Nov 22 10:55:24 CET 2000


I am experiencing a problem generating a postscript version
of a figure. The figure appears in the X11 window correctly
but if I use 

dev.copy(postscript, horiz=TRUE)
dev.off()

the figure in the postscript file is rotated by -90 degrees and clipped.
The postscript _page_ is landscape.

Changing this to 

dev.copy(postscript, horiz=FALSE)
dev.off()

works as it should (all of the figure is printed and the page is
portrait) but the figure is ill-proportioned.

My figure is a 2x5 matrix of matplots. I use mfrow to define the
configuration and mfg to define which graph is which.

Any help would be appreciated.

Regards
Ross Darnell
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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