Deal list,

I have a question regarding adding custom axes to raster plot.
I tried using the "axes=F" option in "plot" function (which
effectively doesn't plot axes) and then calling the "axis" function
(which unfortunately doesn't pot anything). Here's a fictitious
example:
library(raster)
r <- raster(nrows=10, ncols=10)
r <- setValues(r, 1:ncell(r))
plot(r)
plot(r, axes=F)
axis(1)
-> the last command doesn't produce any axes

while, for example,
plot(1:10, axes=F)
axis(1)
-> the last command works as expected

Any clues?
Thanks in advance.

Cheers,

Zivan

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to