I have created a histogram to show LULC by pixel values. The code I used is:-
library(raster)
RupandehiLULC19<-raster('C:/Users/lenovo/Desktop/EM/RupandehiLULC2.tif')
plot(RupandehiLULC19)
hist(RupandehiLULC19, main="Boxplot of LULC By Pixel Value", xlab="Pixel Value",
las=1,col=c("green"))
The map displayed is:-
Though the histogram is displayed it looks congested , text is overlapping (i.e. frequency overlapping with number value) & one column of pixel value higher than frequency label. How can this be fixed?