s-t-diagram and v-t-diagram

Change the number of intervals!