[R] spplot and cex

Ben Bolker bolker at ufl.edu
Mon Sep 21 17:04:30 CEST 2009


Roberto Brunelli <roby.brunelli <at> gmail.com> writes:

> 
> Dear community,
> 
> I'm using R 2.6.1 on a GNU/Linux Slackware box. I would like to obtain
> larger text when using spplot (from sp 0.9-43) using
> 
> spplot(... cex=2)
> 
> but I get no visible effect.
> 
> Any help?
> 

  We need a reproducible example/better description of what you want.
  cex is intended to modify point sizes etc.
  If you want to modify axis text size, etc., I think you will
probably need trellis.par.set(), e.g.

  tp = trellis.par.get()
  tp$par.main.text$cex = 2.0
  trellis.par.set(tp)

  ?




More information about the R-help mailing list