how to move tick marks and labels at right/left end of tiles in geom_tile ggplot?
问题 I am unable to move the x-axis labels, including tick marsk, in a geom_tile to the right end of each tile, I would also like to add the zero at the left end. I have tried breaks and labels but with no luck. Also using breaks and labels doesn't really work. I am trying to achieve what is done in this answer but the solution suggested doens't work. How to force the x-axis tick marks to appear at the end of bar in heatmap graph? my data toplot=structure(list(year = c(125L, 250L, 375L, 500L, 625L