Robert L. Sandefur
2000-Mar-18 14:12 UTC
[R] abline(coef=c(1,1)) different behavoir to screen and postscript 1.00 under windows
hi listees- Running windows 2000 and r 0.99 or 1.00; I get different lines on screen and print out:> j<-read.table("jnk.rin",head=T,sep="\t") > attach(j) > #gives lines I want > qqnorm(Dog,pch="o",main="Cumulative Frequency Log Dog Size",log="y",sub="Figure 2",x=c(-3,3),ylim=c(2000,1000000))> abline(coef=c(3.75,.80)) > abline(coef=c(3.90,.14)) > postscript("jnkCF2.ps",paper="letter") > #gives lines in different position > qqnorm(Dog,pch="o",main="Cumulative Frequency Log Dog Size",log="y",sub="Figure 2",x=c(-3,3),ylim=c(2000,1000000))> abline(coef=c(3.75,.80)) > abline(coef=c(3.90,.14)) > print(Dog)[1] 9100 45000 20000 4262 40000 70000 40000 4284 4282 18900 [11] 100000 8400 4800 7550 6200 10000 10500 7350 5250 4957 [21] 4200 5040 15000 11802 6500 15750 15000 38850 25326 11130 [31] 25200 12600 28350 8400 27305 4200 8400 16800 6000 7692 [41] 4746 7560 20000 6000 10000 20000 9000 8500 10000 100000 [51] 4700 6000 6000 60000 6000 8590 4500 30000 9000 100000 [61] 40000 4765 6340 5000 8500 7000 9400 5000 35000 12000 [71] 20000 200000 6600 110000 20000 4200 4200 7735 7000 672000 [81] 9000 300000 168000 9000 5081 10920 100000 5900 4881 8900 [91] 8250 8000 9100 7000 8350 4700 8064 5188 9400 5000 [101] 7400 6000 4500 5000 9500 10416 8000 9100 4000 34076 [111] 5217 Data isn't really Dogs Robert (Bob) L Sandefur Principal Geostatistician Pincock Allen & Holt rls at pincock.com (primary) rlsandefur at aol.com (secondary) 303 914 4467 v 393 987-8907 f -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Diego Kuonen
2000-Mar-18 15:24 UTC
[R] abline(coef=c(1,1)) different behavoir to screen andpostscript 1.00 under windows
"Robert L. Sandefur" wrote:> > j<-read.table("jnk.rin",head=T,sep="\t") > > attach(j) > > print(Dog)...> Data isn't really DogsAssuming that Dog is a column of your data frame j, "j$Dog" produces the same as "Dog" or "print(Dog)" given that you attached "j"... Did you check your data frame "jnk.rin"? In what sense are your lines on screen and print out different? It's the same code, so the graphics will be the same! Greets Diego Kuonen -- Diego Kuonen http://statwww.epfl.ch/people/kuonen WAP on http://wap.lugo.ch SURF on http://www.LUGO.ch U VAS kogdA nibOOd bilA statOO-irOvka? http://www.Statoo.com Powered by Linux & WAPux.ch! http://www.LinuxPlanet.ch/GnuPG-Key In the future, you're going to get computers as prizes in breakfast cereals. You'll throw them out because your house will be littered with them. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Seemingly Similar Threads
- abline(coef=c(1,1)) different behavoir to screen andpostscript 1.00 under windows
- getting a windows environment variable in r
- fitting a mixture of distributions with optim and max log likelihood ?
- dxf() like bmp() or postscript()?
- [LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection