How to remove the box frame in “plot.raster” in R package “raster”

前端 未结 2 916
孤独总比滥情好
孤独总比滥情好 2020-12-31 05:27

I need to remove the box frame around the figure in R package \"raster\", but I cannot figure out which argument I should change. The example is as follows:

         


        
2条回答
  •  既然无缘
    2020-12-31 06:07

    The best I can suggest is

    plot(r,axes=F,useRaster=F)
    

    The option bty='n' usually gets rid of the box, but the raster-plotting function seems to be drawing its own box on top of the regular box that you can't get rid of.

提交回复
热议问题