Curve/Funcfit over range of scaled x data instead of point numbers

Is there a way to specify the curvefit range in terms of the wave scaling, versus using just the point numbers?
Yes. Here is an example:
Make data = sin(x/8) + gnoise(.1)
SetScale x, 0, 1, "", data
Display data
CurveFit sin data(.2,.4) /D
ModifyGraph rgb(fit_data)=(1,12815,52428)


This is explained in Parameters section of the the help for the CurveFit operation, third paragraph.
Thanks, I am not sure what I was doing wrong. Might have been brackets versus parentheses. Works great now!