$ 0 0 Thanks, Werner.I will use it in the article/And second.I think more correct name of the function line is lsrfit.