Correct version of> Reset values, axis plot and times depending on N