readAsciiGrid - change color
spplot(x) On Sat, Jan 9, 2010 at 3:16 AM, Muhammad Rahiz
<muhammad.rahiz at ouce.ox.ac.uk> wrote:
I can use image.plot() Muhammad Rahiz ?| ?Doctoral Student in Regional Climate Modeling Climate Research Laboratory, School of Geography & the Environment Oxford University Centre for the Environment South Parks Road, Oxford, OX1 3QY, United Kingdom Tel: +44 (0)1865-285194 ?Mobile: +44 (0)7854-625974 Email: muhammad.rahiz at ouce.ox.ac.uk Muhammad Rahiz wrote:
Hello all,
I have gridded data which I loaded using the readAsciiGrid function.
?> x <- read.AsciiGrid("data.txt, plot.image=TRUE).
?> image(x)
This works OK but how do I:
1. know what values are assigned to which color/shade
2. change the color template e.g. rainbow
3. insert a color bar?
Thanks.
Muhammad
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo