[R-sig-Geo] suppress color palette scale in raster plot

Pascal Oettli kridox at ymail.com
Thu May 2 14:48:17 CEST 2013


Hi,

It took about 1 min to find the answer using a web search engine...

require(raster)
r <- raster(nrows=10, ncols=10)
r <- setValues(r, 1:ncell(r))
plot(r, legend=FALSE)

Regards,
Pascal


On 05/02/2013 09:39 PM, Ondřej Mikula wrote:
> Dear list,
> I use the raster package to plot some relief maps and it works fine but I
> need to suppress color palette scale in my figures. Would anybody be so
> kind and give me a hint how to proceed?
> Thanks in advance
> Ondřej
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list