[R] postscript output sideways

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Mar 1 08:37:46 CET 2002

David A Richmond wrote:
> Hi,
>         My plots are all coming out sideways! If I do the following:
> > postscript("plot1.ps",horizontal=TRUE,paper="letter")
> > plot(ns,meanpl/maxvec)
> > dev.off(2)
> The output file has "ns" on the left and the "meanpl/maxvec" on the top!
> It doesn't matter if I change the horizontal flag to FALSE.

If you change it to FALSE, "ns" will be at the bottom and
"meanpl/maxvec" on the left (for me with R-1.4.1 on WinNT4). Are you
sure to have configured your GhostView (or whatever) correctly?

If it doesn't work, please tell us details, particularly your version of
R and your OS ...

> I have noticed, however that If I create my own graph from scratch, using
> frame(), box(), plot.window(), axis(), and points(), the resulting
> postscript output is oriented correctly. Unfortuneately, I don't know how
> to add axis labels (like "ns" and "meanpl/maxvec") this way.

See ?title

Uwe Ligges
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