[R] Tick labels on y axis in lattice plots

Patrick Connolly p.connolly at hortresearch.co.nz
Thu May 8 00:05:07 CEST 2003


On Wed, 07-May-2003 at 12:25PM +1200, Patrick Connolly wrote:

|> I seem to remember this was discussed a year or two ago, but I can't
|> find it in the archives.
|> 
|> 
|> platform i686-pc-linux-gnu
|> arch     i686             
|> os       linux-gnu        
|> system   i686, linux-gnu  
|> status                    
|> major    1                
|> minor    7.0              
|> year     2003             
|> month    04               
|> day      16               
|> language R                
|> 
|> 
|> It appears to my eye that y-axis tick labels are about half a
|> millimetre lower than the tick they label -- at least when using the
|> postscript device with lattice.  For large font sizes it's
|> unnoticable, but there are times when a small pointsize is necessary
|> and I have to fudge the positioning.
|> 
|> Is that noticed by anyone else?

I've looked more closely at this phenomenon by trying a wide range of
font sizes and now conclude that the perceived problem arises because
the centring is calculated (sensibly) from the capital letters.  The
centre line of lower case letters will appear to be below the centre
line that applies to the text as a whole.

In other words, there's nothing wrong with how it works.

best

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the R-help mailing list