Since the control is piecewise constant, use [this](https://juliamath.github.io/Interpolations.jl/stable/api/#Interpolations.constant_interpolation) and step for plot.