Hi,
I have a few raster layers and I would like to customized their x and y axis.

I have tried already something like:


require('raster')
keep<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
xlab<-seq(100e6,200e6,length.out=5)
test<-raster(keep)
plot(test,ylab="",xaxt="n",yaxt="n")
axis(1, at=seq(0,1,length.out=5), xlab)

that normally would work in any other plot function.

Could you please help me add the xaxis ?

I would like to thank you in advance for your reply

Regards
Alex

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to