Skip to content
Prev 311215 / 398513 Next

[lattice] format and rotation of strip text

On Nov 18, 2012, at 12:42 PM, Tom Roche wrote:

            
levelplot(
  conc ~ lon * lat | rev(lev), data=array.3d.df,
  layout=c(1,lev),   levs=as.character(round(array.3d.df[['lev']], 1)),
  strip=FALSE,
  strip.left=strip.custom(
    factor.levels=as.character(round(array.3d.df[['lev']], 3)),
    strip.levels=TRUE,
    horizontal=TRUE,
    strip.names=FALSE ,
    par.strip.text=list( cex=0.5)
  )
)
Your example does not do a very good job of testing the levels  
assignments since they are all the same.