Skip to content
Back to formatted view

Raw Message

Message-ID: <7D0D9DB31BB68B45876EF2D0F80E51101943C1@constitution.wissenschaftsrat.ac.at>
Date: 2011-03-15T15:42:15Z
From: Stowasser Rainer
Subject: simple spplot problem (colorkey inside the plotting area)

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

Rainer