How to remove background from levelplot?

What I ask is simple: There is a way to remove the background from levelplot?

My levelplot:

Thank you.

This is not a base-R function, what package are you using for creating this plot? is it the lattice package? Could you please ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

My dataset have 200mb, is impossible I provide it for you. But, the script I used in this process was that:

library(lattice)
library(raster)
library(rasterVis)
library(spaMM)
palette <- spaMM.colors(n = 100, redshift = 1)
levelplot(kmeans, margin=FALSE,main="Canopy Hight Model", cuts=length(palette)-1,col.regions=palette, xscale.components=xscale.raster.subticks,yscale.components=yscale.raster.subticks,scales=list(x=list(rot=90, cex=0.8)))

I hope this helps.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.