[R-sig-Geo] spplot: title for the colorkey

Tim Appelhans tim.appelhans at gmail.com
Tue Jan 3 18:19:15 CET 2012


Renaud,
I usually plot the key at the top of the figure and then supply the 
title via the 'main' argument

colorkey = list(space = "top", width = 1)

HTH

Tim

On 3/1/2012 17:43, Edzer Pebesma wrote:
> Not that I know of; see argument colorkey in ?lattice::levelplot.
>
> On 12/30/2011 11:38 PM, lancelot wrote:
>> Dear all,
>>
>> Is there a simple way to add a title to the color key produced by spplot
>> (package sp) for raster data sets?
>>
>> Best wishes,
>>
>> Renaud

-- 
#####################################
Tim Appelhans
Department of Geography
Environmental Computer Sciences
Philipps Universität Marburg
Deutschhausstraße 12
35032 Marburg (Paketpost: 35037 Marburg)
Germany

Tel +49 (0) 6421 28-25957



More information about the R-sig-Geo mailing list