Added ticks to range-with-threshold.