[R] Lattice tick labels not all appearing

Patrick Connolly p.connolly at hortresearch.co.nz
Thu Feb 17 23:16:10 CET 2005


Recently I've encountered a phenomenon that can be illustrated thus:

> bwplot(runif(45)*100)

Depending on the random seed, one or other or both of the outer tick
labels are not labelled, even though there'd be heaps of space to do
so.  The same happens with the postscript device.

I can get them both to appear if I add an excessive xlim parameter
like so:

> bwplot(runif(25)*100, xlim = c(0, 100) + 7*c(-1,1))

Stretching by anything less than 7 will generally not succeed.

I'm sure this behaviour was not the case until recently.  For this
example, it's not a big deal, but I often do multiple page plots that
require different limits.  A more automatic way of making an
adjustment would be a great find.

TIA

platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    2                
minor    0.1              
year     2004             
month    11               
day      15               
language R                
> 
-- 
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