Use the slider to change the number of subintervals.