[Rd] [R] Lattice: ltext() takes only the x-part of the adj argument (PR#2380)

wolfram@fischer-zim.ch wolfram@fischer-zim.ch
Wed Dec 18 15:09:14 2002


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