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


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

sprintf reduced chisquare on the chart

Newsgroups comp.graphics.apps.gnuplot
Date 2014-07-22 17:03 -0700
Message-ID <bf3f6e45-3b5e-4f71-9ea5-04c974c7d042@googlegroups.com> (permalink)
Subject sprintf reduced chisquare on the chart
From guglielmo.baccani@gmail.com

Show all headers | View raw


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?

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web