R-beta: Problems with graphics on postscript

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jul 1 21:43:29 CEST 1998


rhurlin at gwdg.de writes:

> 
> 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" ' ?

Bug in R, found and fixed just a few days ago (along with the missing
tickmarks). If you're in a big hurry, you can pick up the intermediate
patched version from CRAN.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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