[R-sig-Geo] simple spplot problem (colorkey inside the plotting area)

Stowasser Rainer rainer.stowasser at wissenschaftsrat.ac.at
Tue Mar 15 16:42:15 CET 2011

I'm using spplot to color regions of Austria
Everything works fine
But I like to have the colorkey INSIDE the plotting area (in the Bavaria
window :-)

space just puts it outside (top, bottom, left, right)

as the spplot is a lattice object it should be possible

I've tried the examples from http://r-spatial.sourceforge.net/gallery/
With the key.space=list(x=0.2,y=0.9,corner=c(0,1))
But this is simply ignored

Is there a way to do this (without using a lattice layer and rebuilding
the colorkey ;-)

I'm using R  2.12.2
Package sp version 0.9-78

Every help would be welcome


More information about the R-sig-Geo mailing list