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


Groups > comp.graphics.apps.gnuplot > #2533 > unrolled thread

sprintf reduced chisquare on the chart

Started byguglielmo.baccani@gmail.com
First post2014-07-22 17:03 -0700
Last post2014-07-23 03:05 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  sprintf reduced chisquare on the chart guglielmo.baccani@gmail.com - 2014-07-22 17:03 -0700
    Re: sprintf reduced chisquare on the chart Karl <mail.kfr@gmx.net> - 2014-07-23 09:53 +0200
      Re: sprintf reduced chisquare on the chart guglielmo.baccani@gmail.com - 2014-07-23 03:05 -0700

#2533 — sprintf reduced chisquare on the chart

Fromguglielmo.baccani@gmail.com
Date2014-07-22 17:03 -0700
Subjectsprintf reduced chisquare on the chart
Message-ID<bf3f6e45-3b5e-4f71-9ea5-04c974c7d042@googlegroups.com>
Hi!
I'm fitting some data-points from the file "data" with the function f(x)=a*x+b
After the fit the parameters a and b (and their errors) are printed in the file "data.log" along with the reduced chisquare.
I would like to print these results on the chart. For a and b there is no problem:

set fit errorvariables
[...]
set label sprintf("a = %g +/- %g", a, a_err) at graph .05,.85
set label sprintf("b = %g +/- %g", b, b_err) at graph .05,.80

But I don't know how to label the reduced chisquare.
Is it possible to print it automatically or I have to write it by hand?

[toc] | [next] | [standalone]


#2534

FromKarl <mail.kfr@gmx.net>
Date2014-07-23 09:53 +0200
Message-ID<lqnpei$qd$1@news.rz.uni-karlsruhe.de>
In reply to#2533
Am 23.07.2014 02:03, schrieb guglielmo.baccani@gmail.com:
> But I don't know how to label the reduced chisquare.
> Is it possible to print it automatically or I have to write it by hand?

The status of the last fit is in a set of variables named FIT_*, see
"show var FIT".


  Karl

[toc] | [prev] | [next] | [standalone]


#2535

Fromguglielmo.baccani@gmail.com
Date2014-07-23 03:05 -0700
Message-ID<4afd3453-09f0-44fa-bbbb-97db355e5a23@googlegroups.com>
In reply to#2534
Thank you so much

guglielmo

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web