powered by
Auxiliary function for getChangePoints
getChangePoints
getSegments(y)
a vector
plots the sup and inf of the function for each dimension. If threshold is not NULL