[R-sig-Geo] help on spplot

Matthew Landis landis at isciences.com
Fri Sep 2 17:37:05 CEST 2011


Cristina,

I think you are on the right track with colorkey = list(cex = 0.5).  
Instead, try:

colorkey = list(labels = list(cex = 0.5))

I think I had to delve pretty deep into the documentation for levelplot 
or xyplot to figure that out.

Matt

On 9/2/2011 11:31 AM, Cristina Silva wrote:
> Dear all,
>
> I am trying to map fish densities in different years from a 
> SpatialPointsDataFrame. I managed to change the legend labels using 
> lengendEntries and the their position using key.space, but not the 
> font size. I have looked in help pages and in the books ASDAR and 
> Lattice, and tried to use colorkey=list(cex=.5) but didn't work. Could 
> anybody give me a hint on how to do this?
>
> Thanks in advance.
>
> Cristina
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew Landis, Ph.D.
Research Scientist
ISciences, LLC
61 Main St. Suite 200
Burlington VT 05401
802.864.2999
~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the R-sig-Geo mailing list