[R] adding labels to a multiple plot in lattice

Deepayan Sarkar deepayan.sarkar at gmail.com
Sun Sep 11 04:53:33 CEST 2005


On 9/10/05, Jorge Ahumada <jahumada at usgs.gov> wrote:
> 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.

If it doesn't, this  might help:

https://stat.ethz.ch/pipermail/r-help/2005-March/066012.html

Deepayan




More information about the R-help mailing list