0
我绘制光栅这样的:文本没有被添加到光栅情节
library(raster)
raster = raster("C:\\Pathway\\raster.tif")
plot(raster)
text(0.4, 0.8, "text")
但不加我的文字。当我在raster
包中使用预加载的光栅时,它可以工作。例如:
plot(raster(volcano))
text(0.4, 0.8, "text")
我的文本被添加。