Displaying 1 result from an estimated 1 matches for "tsurflikb".
2004 Aug 31
1
add single contour line to levelplot
...o do it 'on-the-fly'. When I include the last line in the code below,
I get the following error:
Error in NextMethod("[") : Argument "subscripts" is missing, with no default
Any tips on how to fix this are greatly appreciated!
Ian Jonsen
levelplot(dens~nu*sigma,data=tsurflikB,at=c(-20,-10,-5,-4,-3,-2,-1),
col.regions=gray(seq(0.5,0.9,length=14)),region=T,colorkey=F,aspect=1,
panel=function(x,y,z,...){
panel.levelplot(x=x,y=y,z=z,...)
lpoints(x[z==0],y[z==0],pch=16,cex=0.5)
panel.levelplot(z~x*y,at=-3,contour=T,aspect=1)
}
)
________________________...