acuster@nature.berkeley.edu
2000-May-19 23:45 UTC
[Rd] graphics character misplaced (PR#548)
Full_Name: Adrian Custer Version: 1.01 OS: gnu-linux (mandrake 7.1beta) Submission from: (NULL) (128.32.251.234) The character "*" displays too high in comparison to the graph space and other characters in the plot. Consider:> a_-0.15 > plot(c(0,100),c(0,1)) > for (i in 1:100){ points(i,(1-exp(a*i)),pch=".",col="blue")} > for (i in 1:100){ points(i,(1-exp(a*i)),pch="*",col="red")} > abline(1,0)This may be a well understood effect of using display characters, but the "o" in the original plot call falls in the right place. Thanks again for R-it's getting me a doctorate, adrian -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sat, May 20, 2000 at 01:45:53AM +0200, acuster@nature.berkeley.edu wrote:> > Thanks again for R-it's getting me a doctorate, > adrianJeepers, which function does that? [ We've got few students here who be keen to know :-) ] Ross -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Adrian Custer wrote:> The character "*" displays too high in comparison to the graph space and > other characters in the plot. Consider: > > > a_-0.15 > > plot(c(0,100),c(0,1)) > > for (i in 1:100){ points(i,(1-exp(a*i)),pch=".",col="blue")} > > for (i in 1:100){ points(i,(1-exp(a*i)),pch="*",col="red")} > > abline(1,0)Can anyone reproduce this? On my Solaris system the placing looks spot on on X11 and postscript, so it looks to me to be a system-specific font-metric problem. I noticed it came from a beta OS (gnu-linux (mandrake 7.1beta)), and I am presumming that the X11 device was meant. -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._