Add text to raster
This function adds text to raster. A threshold value determines whether the text is black or white
intFun.addBWtext(myRaster, myDigits = 1, myCex = 0.7)
myRaster |
A raster object |
myDigits |
An integer that gives the number of desired digits |
myDigits |
A number that determines the size of the text, e.g. 0.7 |
plots text of a raster object
library(raster) # make some data data <- runif(100,-1,1) data <- matrix(data, ncol=10) data <- raster::raster(data) plot(data) intFun.addBWtext(myRaster = data, myDigits = 1, myCex = 0.7)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.