Hi all, I am trying to plot a raster object (I can explain why but the point is that it would be a raster objeƧt)..
I have selected a small code to show you exactly the problem require(raster) test<-matrix(data=runif(10000),nrow=100) m<-raster(test) plot(m,axes="FALSE") axis(1,at=c(0,1),labels=c("a","b")) # THIS DOES NOT CHANGE THE INVISIBLE AXIS WHILE plot(test,axes="FALSE") axis(1,at=c(0,1),labels=c("a","b")) # WHEN I AM PLOTTING A NON RASTER OBJECT THE AXIS APPEARS. Can someone explain me what I can do so a raster layer to show correctly the axis? Please remember that I have to do that on a raster object so coercing it will not help .. I would like to thank you in advance for your help 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.