I am trying to make a world map in R, but I cannot draw the latitude and longitude grid correctly. It still doesn't work after adding the panel grid code!
It really drives me crazy, I cannot solve it and need help.
Thanks a lot!
code:
world_mollweide <- st_transform(world, crs = "+proj=moll")
ggplot(world_mollweide)+geom_sf()+coord_sf()+theme_minimal()+
theme(panel.grid.major = element_line(color = "black",size = 0.3),
panel.grid.major.x = element_line(color = "black",size = 0.3))