Tim,
If you're using the Raster package, plot has these options:
quoting R. Hijmans from this thread:
https://r-forge.r-project.org/forum/forum.php?thread_id=2109&forum_id=962&group_id=294

"As of version 0.9.9-10 you can do, with RasterLayer r:
plot(r, add=TRUE)
plot(r, legend=FALSE)
plot(r, legend.only=TRUE)"

-- 
best,

Adam Sparks
Post-Doctoral Fellow
IRRI
DAPO Box 7777
Metro, Manila
Los Baños, Laguna, Philippines


On Wed, Apr 27, 2011 at 12:09 AM, Häring, Tim (LWF) <
Tim.Haering@lwf.bayern.de> wrote:

> Dear list,
>
> I would like to overlay two raster objects to produce a nice map. The
> underlying raster is a hillshade, the second is transparent.
> plot(hillshade, col=grey(1:20/20))
> plot(soilraster, alpha = 0.7, add = TRUE)
>
> Does anybody know, how to hide the legend of the hillshade?
>
> Thank you.
> TIM
>
> -------------------------------------------
> Tim Häring
> Bavarian State Institute of Forest Research
> Department of Soil and Climate
> Hans-Carl-von-Carlowitz-Platz 1
> D-85354 Freising
> E-Mail: tim.haering@lwf.bayern.de
> http://www.lwf.bayern.de
>
>

	[[alternative HTML version deleted]]

