I am plotting raster using plot, and the exported figure seems to be cut off in the right side. Part of the legend in the right side are missing.
jpeg("500.jpeg", units="cm", width = 10, height = 14, res=600)
names(fs1)=c("a", "b","c","d","e","f","g","h")
plot(fs1,axes = FALSE, box=FALSE,nc=2,nr=4,col=colorRampPalette(c("grey", "green", "blue"))(255))
dev.off()
Can you please let me know what might cause this issue and how can I fix it?
Also, I am wondering how to adjust the font size of the name on the top of each raster plot (i.e. a, b, c, ..., etc.)
Many thanks in advance.