[Rspatial-devel] sp color defaults

Edzer Pebesma edzer.pebesma at uni-muenster.de
Mon Jun 30 11:15:20 CEST 2014


committed to r-forge:

1. I changed the color defaults for sp::spplot to bpy.colors(), from the
defaults of lattice (cm.colors()), which has white in the middle.

Defaults can now be set and get by

set_col_regions(cm.colors(100))
get_col_regions()

2. I now use memcpy() to check zero distances between points, if
compared against 0.0 (src/zerodist.c). This may not be IEEE conformant,
as some small distances may round to zero, but do not when bitwise compared.

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/rspatial-devel/attachments/20140630/c0b91028/attachment.sig>


More information about the Rspatial-devel mailing list