Set domain of x to [0.5,3]