Skip to content
Prev 9704 / 29559 Next

trouble with plotting maps in pdf

On Mon, Oct 25, 2010 at 5:39 PM, Ricardo Rodr?guez
<ricardorodot02 at gmail.com> wrote:

            
First, spplot doesn't do AXES=TRUE, so I don't know where you got that from.

 Secondly, your 'main' and 'scales' parameter are outside your spplot call.

 print(
   spplot(
     Rmap1["var1.pred"],
     AXES = TRUE,
     col.regions=bpy.colors(20),
     xlab="E-O",ylab="S-N"
     ), # end of spplot
 scales=list(draw=TRUE),main="map 1"
) # end of print

Put them inside the right parenthesis and they'll work...

Barry