Set xlims in plot.