wolfram@fischer-zim.ch
2002-Dec-18 15:09 UTC
[Rd] [R] Lattice: ltext() takes only the x-part of the adj argument (PR#2380)
In the following example, changing `adjx' from 0 to 0.5 to 1 changes the position of the letters. Changing `adjy' has no influence on the position of the letters. adjx = 0 adjy = 0 xyplot( 1:3 ~ 1:3, panel=function( x, y, ... ){ ltext( x, y, LETTERS[1:3], adj=c( adjx, adjy ), cex=5 ) panel.grid() } ) Wolfram Fischer
deepayan@stat.wisc.edu
2002-Dec-18 22:27 UTC
[Rd] [R] Lattice: ltext() takes only the x-part of the adj argument (PR#2380)
Thanks. Fixed in the development version. On Wednesday 18 December 2002 07:57 am, wolfram@fischer-zim.ch wrote:> In the following example, changing `adjx' from 0 to 0.5 to 1 > changes the position of the letters. Changing `adjy' has no > influence on the position of the letters. > > adjx = 0 > adjy = 0 > xyplot( 1:3 ~ 1:3, panel=function( x, y, ... ){ > ltext( x, y, LETTERS[1:3], adj=c( adjx, adjy ), cex=5 ) > panel.grid() > } ) > > Wolfram Fischer > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-devel