[R] postscript output sideways

David A Richmond richmond at saintmarys.edu
Thu Feb 28 22:27:13 CET 2002


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. 

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.

So I have 2 questions: 1) can I get plot to output to postscript
normally? or 2) how do I add axis labels and other text to a graph that
I've created from scratch?

dave

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|David Richmond                It works on a          |      
+ Dept. of Sociology          complex scientific      + 
|Saint Mary's College          principle, known as    |  
+ Notre Dame, IN 46556               "pot luck."      +
|574-284-4517                    - The Doctor         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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