R-beta: Problems with graphics on postscript

rhurlin@gwdg.de rhurlin at gwdg.de
Wed Jul 1 23:12:30 CEST 1998


I am using R-0.62.1 on FreeBSD-2.2.5. In R-0.61.3 I wrote the 
following R-script to produce postscript-output with logarithmic 
diagram:

postscript("Test.PS", paper="a4", width=10.7, height=7.27,
pointsize=10) plot(c(1:100), c(1:100), ann=FALSE, log="y",
xlim=range(1:100), ylim=range(1:100))
lines(c(1:100), rep(   1,100), lty=2, col="Gray")
lines(c(1:100), rep(   2,100), lty=2, col="Red")
lines(c(1:100), rep(   3,100), lty=2, col="Blue")
lines(c(1:100), rep(   5,100), lty=2, col="Yellow")
lines(c(1:100), rep(   6,100), lty=2, col="Brown")
lines(c(1:100), rep(   7,100), lty=2, col="Gray")
lines(c(1:100), rep(   8,100), lty=2, col="Red")
lines(c(1:100), rep(  10,100), lty=2, col="Blue")
lines(c(1:100), rep( 100,100), lty=2, col="Green")
dev.off()

All has been printed very well. In R-0.62.1 the "lines()" are only 
printed till y=3 (the first three lines), the complete rest is 
ignored. 
Is there a bug in R or is my plot()-command not well designed, 
perhaps the 'log="Y" ' ?

Thanks for answering
Rainer
Rainer Hurling
Institut fuer Forstzoologie
Buesgenweg 3
D-37077 Göttingen
GERMANY
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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