M.B.Gillies@pharm.uu.nl
2000-Sep-18 12:20 UTC
[Rd] phantom(0) doesn't do what I expect it to [plotmath] (PR#662)
Full_Name: Malcolm Gillies Version: 1.1.1 OS: Debian GNU/Linux 2.2 Submission from: (NULL) (131.211.56.47) I'm trying to make a legend with a justified list of numbers, so I thought I would use phantom(0) to align the 3-digit numbers properly with the 4-digit ones: plot(1); legend(1, 1, xjust=1, yjust=1, lty=c(1,2,3,4,5), adj=c(0,0.5), legend=expression(phantom(0)*300*plain(K), phantom(0)*550*plain(K), phantom(0)*830*plain(K), 1440*plain(K), 2500*plain(K))) Unfortunately, phantom(0) doesn't seem to be adding any space, whether I use the X11 or the postscript device. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._