Try to set the plot x axis limits intelligently