Skip to content

Tick labels on y axis in lattice plots

2 messages · Patrick Connolly

#
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?

best
#
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