Skip to content

trouble with plotting maps in pdf

4 messages · Ricardo Rodríguez, Barry Rowlingson, Zia Ahmed +1 more

#
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
1 day later
#
Is it possible to  change the font size of attribute name in sppot?  
also the background color? Thanks
Zia

spplot(zn, c("a", "b", "c", "d"),

names.attr = c("ordinary kriging", "universal kriging with dist to 
river", "stratified kriging with flood freq", "inverse distance"),

as.table = TRUE, main = "log-zinc interpolation",

sp.layout = list(rv, scale, text1, text2)

)

* *


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101026/f6fcd557/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zua3.vcf
Type: text/x-vcard
Size: 281 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101026/f6fcd557/attachment.vcf>
#
On 10/26/2010 10:02 PM, Zia Ahmed wrote:
, par.strip.text = list(cex = .5)