Skip to content
Prev 9909 / 29559 Next

fix color scale

Interesting demonstration. However, it seems like sp objects and
spplot are still more efficient at storing / plotting large grids. The
example listed below required over 2 minutes to complete on a 2.4 Ghz
Intel processor. Also, storing the coordinates + data in long format
could easily fill available memory with large rasters. I have found
that storing multiple raster attributes as columns in the @data slot
of a SpatialGridDataFrame object give me flexibility to plot images
with a consistent color scheme, without needing to store the data in
long format. Also with lattice, the plots are generated in a couple of
seconds (500x700 px grid). I would be very interested in knowing how
to make ggplot() any faster.

Cheers!
Dylan

On Sun, Nov 7, 2010 at 11:55 AM, Edzer Pebesma
<edzer.pebesma at uni-muenster.de> wrote: