possible bug (PR#91)

Peter Dalgaard R-bugs@biostat.ku.dk
Tue, 16 Feb 1999 16:15:48 +0100


> 3.
> Using "expression" as ylab or xlab parameter of plot(): label is not
> centered (too high or too far to the right); this is particularly
> obvious if, e.g., margins are set wide:
> 
> e.g., with:
> 
> par(mai=c(1.8,2,1.8,2))
> 
> I padded the label with spaces to approximately center it:
> 
> ylab=expression(paste("[Ca]"[i]," (nM)                            ")

Er, wait a minute. I think you are trying to do

plot(1:3,ylab=expression("[Ca]"[i]*" (nM) "))

which *does* get centered correctly.

This leaves the bug.report issue, so I'll put the report in a new "Misc" folder.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._