X-Received: by 10.99.184.17 with SMTP id p17mr4037857pge.78.1498592450217; Tue, 27 Jun 2017 12:40:50 -0700 (PDT) X-Received: by 10.36.76.142 with SMTP id a136mr67549itb.3.1498592450181; Tue, 27 Jun 2017 12:40:50 -0700 (PDT) Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!x12no273142itb.0!news-out.google.com!k7ni1609itk.0!nntp.google.com!185no1745952itv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Tue, 27 Jun 2017 12:40:49 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.175.20.4; posting-account=lpWH3woAAACfRIoKaB6fByfnBeDm6Sfx NNTP-Posting-Host: 193.175.20.4 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6f3bde3c-bb63-4e8c-9ea4-66daf079bc7b@googlegroups.com> Subject: Re: Undefined value during function evaluation From: schmidtanna114@gmail.com Injection-Date: Tue, 27 Jun 2017 19:40:50 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 16 Xref: csiph.com comp.graphics.apps.gnuplot:3683 Thank you Karl,=20 I will cancle the b, you are right.=20 But the angles are no Problem, because there are no angles in my data. I us= e the arcustangens to get the angle and then insert it into the sinus. So a= rctan((x-d)/e) is the angle and gnuplot will charge it in radiands. (x-d) a= nd e have the unit mm, and their unit does not matter, because they cancle.= But maybe there is a problem with the "big" sinus...=20 (sin((pi*b*sin(atan((x-d)/e)))/c))**2 Could be, you are right.=20 I will change to degree and try again, thank you. And yes, the function is already close to the data before fitting. I have to use this funktion for my data, there is no easier one for this pr= oblem. =20 Anna