Summary - Re: [R] R-Graphics

partha_bagchi@hgsi.com partha_bagchi at hgsi.com
Tue Jul 27 15:13:56 CEST 1999


Thanks to all who replied. Mostly the suggestion was to add the argument
horizontal= FALSE to the postscript function. However, I was trying to
generate a landscape graph. The "fault" lies with gs as Peter Dalgaard
pointed out. Under Windows 95, gsview has an option to view landscape or
portrait and therefore this problem does not arise on that platform.



                                                                                                              
                    partha_bagchi at hgsi.c                                                                      
                    om                          To:     r-help at stat.math.ethz.ch                              
                    Sent by:                    cc:                                                           
                    owner-r-help at stat.ma        Subject:     [R] R-Graphics                                   
                    th.ethz.ch                                                                                
                                                                                                              
                                                                                                              
                    07/26/1999 04:51 PM                                                                       
                                                                                                              
                                                                                                              



I am having a strange problem with R graphics:
I am testing out R on a Sun Solaris machine. I generate a simple postscript
graph as:

postscript(file="temp.ps", paper= "letter")
plot(c(1:10), xlab= "index", ylab= "Cell Count")
title("Generic Test of R-Graphics")
dev.off()

When I view the temp.ps file with gs (version 5.50) I get the graph rotated
by at least 90 deg. Is this a bug or have I missed something?
TIA.

> version
           _
platform   sparc-sun-solaris2.6
arch       sparc
os         solaris2.6
system     sparc, solaris2.6
status
status.rev 0
major      0
minor      64.1
year       1999
month      May
day        8
language   R
>

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



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