[Rd] graphics character misplaced (PR#548)
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
21 May 2000 12:09:38 +0200
ripley@stats.ox.ac.uk writes:
> 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.
I don't see it either with current development sources. We used to get
that effect because "*" is a superscript asterisk (not a centered
operator) in the relevant X11 font, but Paul/Ross fixed that at some
point. Does example(points) look right on this system?
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._