Get a slice of a diagram from t_start to t_end
t_start
t_end
starting point of the slice
ending point of the slice
number of points in the slice
function that modifies a diagram
Get a slice of a diagram from
t_start
tot_end