set xlim, show grid