Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3669

Re: What's new in gnuplot 5.2

X-Received by 10.101.87.197 with SMTP id q5mr10001128pgr.140.1496651529839; Mon, 05 Jun 2017 01:32:09 -0700 (PDT)
X-Received by 10.157.45.132 with SMTP id g4mr418784otb.0.1496651529797; Mon, 05 Jun 2017 01:32:09 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!67no1271047itx.0!news-out.google.com!k7ni6007itk.0!nntp.google.com!67no1271036itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 5 Jun 2017 01:32:09 -0700 (PDT)
In-Reply-To <91f133a9-ec73-423a-fb72-de13397f48aa@t-online.de>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=81.247.56.198; posting-account=6f4zEAoAAABcPGvJdTxtF_Mhoal-gK1d
NNTP-Posting-Host 81.247.56.198
References <ac6rb8.ur8.19.1@isomedia.com> <b30f5dfe-333f-4a47-b61e-ab6e6b0a96fc@googlegroups.com> <ogr70t$1b2$1@solani.org> <022e551d-f7c4-44a1-973b-f8db0375854b@googlegroups.com> <ogrdkh$4tc$1@solani.org> <ec3a75fe-478f-458a-a42d-4629c2cf45a5@googlegroups.com> <91f133a9-ec73-423a-fb72-de13397f48aa@t-online.de>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <f8c271a2-88bb-4951-8db3-f65800bdd512@googlegroups.com> (permalink)
Subject Re: What's new in gnuplot 5.2
From "hugocoolens@gmail.com" <hugocoolens@gmail.com>
Injection-Date Mon, 05 Jun 2017 08:32:09 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.graphics.apps.gnuplot:3669

Show key headers only | View raw


Op zaterdag 3 juni 2017 22:45:42 UTC+2 schreef Hans-Bernhard Bröker:
> Am 03.06.2017 um 21:49 schrieb hugocoolens@gmail.com:
> 
> 
> >> Just out of curiosity, what is the function you try to fit?
> > this is one example:
> > f(x)=20*log10(a/(1+(x/b)**2)**0.5)
> > a should be positive but sometimes Gnuplot makes it negative
> 
> Often the function can be transformed a bit to lift such requirements. 
> In this case, you could just fit
> 
> 	f(x) = 10 * log10(a**2 / (1 + (x / b)**2))
> 
> or
> 
> 	f(x) = 20 * log10a - 10 * log10(1 + (x / b)**2)
thank you very much for your help, I tried out 
f(x) = 20 * log10a - 10 * log10(1 + (x / b)**2) but that didn't make 
any difference. However f(x) = 10 * log10(a**2 / (1 + (x / b)**2)) does make a difference but "a" still becomes negative for certain fitting intervals.
I have posted the data here:
https://www.dropbox.com/s/slhg33xoep51i02/karakt.dat?dl=1
And this is the batch-file I used:
https://www.dropbox.com/s/crkpcbvd9a1qq4r/amplitude.gp?dl=1
You will see the sign of "a" toggles to negative when the fitting interval is greater than 80e6 even though the fitting as such seems very good.

kind regards,
Hugo

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

What's new in gnuplot 5.2 Raoul Fleckman <raoul.fleckman@gmail.com> - 2017-05-26 21:13 +0000
  Re: What's new in gnuplot 5.2 "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2017-05-31 23:16 -0700
    Re: What's new in gnuplot 5.2 Karl Ratzsch <mail.kfr@gmx.net> - 2017-06-02 10:18 +0200
      Re: What's new in gnuplot 5.2 "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2017-06-02 02:32 -0700
        Re: What's new in gnuplot 5.2 Karl Ratzsch <mail.kfr@gmx.net> - 2017-06-02 12:11 +0200
          Re: What's new in gnuplot 5.2 "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2017-06-03 12:49 -0700
            Re: What's new in gnuplot 5.2 Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2017-06-03 22:45 +0200
              Re: What's new in gnuplot 5.2 "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2017-06-05 01:32 -0700
                Re: What's new in gnuplot 5.2 Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2017-06-05 14:47 +0200
                Re: What's new in gnuplot 5.2 "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2017-06-06 23:34 -0700
                Re: What's new in gnuplot 5.2 Dr Engelbert Buxbaum <engelbert_buxbaum@hotmail.com> - 2017-06-07 14:26 +0200

csiph-web