An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101025/16f9c3b5/attachment.pl>
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:
? ? ? ? ? ?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
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:
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)
, par.strip.text = list(cex = .5)
) * *
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de http://www.52north.org/geostatistics e.pebesma at wwu.de