1

i'm trying to plot a multiband tiff file (aerial photo) behind a rastergrind with spplot:

aerial <- raster/stack/brick("path to .tif-file")
spplot(pred,zcol="ph",colorkey=list(space="left")) + as.layer(spplot(aerial))

the problem is now that the aerial photo is not right colored. it is a multiband file but spplot only take the first band (red). Is there a way to tell spplot to take the three color-bands for coloring?

greets Elser

0 Answers0