Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTim7dEFMKzQNmwQ6gYADmmFHbAB2Q-9yyEooN57G@mail.gmail.com>
Date: 2010-10-25T16:56:43Z
From: Barry Rowlingson
Subject: trouble with plotting maps in pdf
In-Reply-To: <AANLkTinvDoapai+B7zd5ANLMz1nOhPqzW+o6X8ma0pMB@mail.gmail.com>

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

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

 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