Set proper domain for color scale.