plotthresholds_ function

Plot the thresholds