Displaying 1 result from an estimated 1 matches for "xaxisfrequencies".
2013 Mar 25
0
plot Raster
Dear all,
I am trying to plot an image so I am trying this through raster layer.
You can copy paste the following
require('raster')
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
rasterData<-raster(Data)
lengthOut<-5
xAxisFrequencies<-seq(800,900,length.out=lengthOut)
plot(rasterData, ylab="",xaxt="n",yaxt="n")
axis(1, at=seq(0,1,length.out=lengthOut), xAxisFrequencies, col.axis = "blue")
What I want is to add a customized x label, but the last line I gave above
axis(1,at.....) does...