Add a limit to axis ticks using xlim, ylim or scale_x/y_continuous/discrete function.
Let plot be a bar chart using ggplot.
Add limit uisng any of the following syntax.
> plot + xlim(5, 20) + ylim(0, 50)
> plot + scale_x_continuous(limits = c(5, 20)) + scale_y_continuous(limits = c(0, 50))