By default, each plot in ggplot fits its device.
ggplot
That\'s not always desirable. For instance, one may need to make tiles in geom_tile to be
geom_tile
Here's an easy device to treat your plot with respect,
library(ggplot2) p = qplot(1:10, (1:10)^3) g = ggplotGrob(p) g$respect = TRUE library(grid) grid.draw(g)