[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gauss2DFit question



In article <090520001530100771%k-bowman@null.tamu.edu>, K. Bowman <k-bowman@null.tamu.edu> wrote:

> xr   = (xx - a[4])*COS(a[6]) - (yy - a[4])*SIN(a[6]) ;Rotate x
> yr   = (xx - a[4])*SIN(a[6]) + (yy - a[4])*COS(a[6]) ;Rotate y

should be

xr   = (xx - a[4])*COS(a[6]) - (yy - a[5])*SIN(a[6]) ;Rotate x
yr   = (xx - a[4])*SIN(a[6]) + (yy - a[5])*COS(a[6]) ;Rotate y

but it doesn't fix the problem.

Ken