|
From: DonBieber <rau...@ym...> - 2009-12-04 17:33:31
|
Hans-Bernhard wrote: > > DonBieber wrote: > >> I have data concerning rutherford-scattering. In order to verify the >> formula >> I need to make a fit with the function f(x)=a*1/(sin(x/2)**4). Like you >> can >> see I get for x=0 a little mathematical problem. The following picture >> shows >> the fit in green and how I would like it to be in blue. Is there any >> possibility of telling GnuPlot to skip x=0 and interpolate? > > Throw away the data point at x=0 (and all other exact multiples of \pi, of > course) before you pass the data to the 'fit' command. > I already left this data point out (like you can see in the picture), however this doesn't change the problem. This is quite strange as my tutor gave me the same advice for the fit :( -- View this message in context: http://old.nabble.com/Problem-with-singularity-%3C-%3E-Divide-by-zero-tp26634110p26636158.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |