[R] adding labels to a multiple plot in lattice

Jorge Ahumada jahumada at usgs.gov
Sat Sep 10 23:48:02 CEST 2005


Thanks. Well the pseudocode was a simple illustration but in reality  
each plot is a levelplot with contourplot panels, etc. This is how  
one of them looks:

levelplot(mean~SI+slope,data=sens.ker.new,at=c 
(0.01,0.05,0.1,0.25,0.5,1,2),cont=T,
xlab="",ylab="",main="A", panel=function(...,at,region=T,contour=T) {
panel.levelplot(...,at=at,region=region,contour=contour,labels=list 
(cex=0.8))
panel.xyplot(0.9,0.00554,pch=16,cex=1.5,col='black')
})

Will the principle that you outlined apply to this more complex  
situation? I'll try it out.

thanks..

J.

On Sep 10, 2005, at 3:54 PM, Deepayan Sarkar wrote:

> xyplot(c(x1, x2, x3, x4) ~ c(y1, y2, y3, y4) | a,
>        scales = "free", xlab = "whatever")




More information about the R-help mailing list