Message-ID: <4741A279.9030003@uni-muenster.de>
Date: 2007-11-19T14:49:29Z
From: Edzer Pebesma
Subject: spplot(), SpatialGridDataFrame
In-Reply-To: <4741A6AC.22030.15E00B5@ingoholz.uni-hohenheim.de>
Ingo Holz wrote:
> Hi,
>
> I have a SpatialGridDataFrame and want to plot it with spplot().
>
> Is it possible to plot only the grids that have a special value (eg. 312)?
>
fullgrid(x) = FALSE
spplot(x[x$value == 312,"value"]
Note that if fullgrid(x) is TRUE, x[rows,cols] would select on
rows/cols, not on attribute values.
> If it is not possible to do this with spplot() how would it be done with plot()?
>
>
I'd use image rather than plot; plot would use symbols instead of
coloured squares.
--
Edzer
> Thanks, Ingo
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>