[R-sig-Geo] readAsciiGrid - change color
Muhammad Rahiz
muhammad.rahiz at ouce.ox.ac.uk
Fri Jan 8 17:04:49 CET 2010
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
--
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
More information about the R-sig-Geo
mailing list