Changes the domain of the histogram