Displaying 1 result from an estimated 1 matches for "spcgrid".
2006 Feb 10
1
the proper way to use panel functions in lattice package?
...art of my code.
xrange<-range(225000:350000)
yrange<-range(2685000:2810000)
basemap <- read.shape("Twn25_town_dxf_Polygon.shp")
plot.Map(basemap,xlim=xrange,ylim=yrange,fg=0,ol=8,xlab="",ylab="")
contourplot(var1.pred~x+y, spcgrid, aspect = "xy",label.style="align")
I have tried to put panel function under plot.Map() but it gave some error
message about some argoument matches other arguments.
>plot.Map
(basemap,xlim=xrange,ylim=yrange,fg=0,ol=8,xlab="",ylab="",panel=fun...