set xlim and ylim