Skip to content
Prev 4962 / 29559 Next

symbols in spplot

On Wed, 4 Feb 2009, Peter van Horssen wrote:

            
If you try to use only base graphics, you may find this easier to sort out 
initially - so make the greyscale plot with image() if the data are 
gridded or plot() if irregular polygons - more intervention will be needed 
to choose the colours and to provide a legend, then overplot using 
my.symbols(), which seems to be a base graphics function, if I've found 
the right one. Otherwise you'll need to find a way to draw the arrows by 
for example constructing a SpatialLines object of arrows, and using 
sp.lines in the sp.layout= argument.

Hope this helps,

Roger