|
From: Alice5785 <Al...@st...> - 2009-04-26 11:34:57
|
Thank you very much!
I have now what I wanted, looks a little difficult but it wirks :-)
for those who want to know how (but you will need a file.dat file with the
columns "volumina in ml", "time in sec", "meausred height in cm"):
f(x)=a*x+b
set fit errorvariables
fit f(x) "file.dat" using
($1*(0.99458e5+1.08e3*9.81*$3*1e-2-0.94*3.08e3)*273.15/(1.01325e5*297.66)):(4.4828e3*$2)
via a,b
set label 1 "Faraday-constant from slope of the fit" at graph 0.38,0.4
set label 2 "F = [ " at graph 0.38,0.35
set label 3 sprintf("%.2f +/- %.2f (%.2f%%)",a,a_err,a_err/a*100) at graph
0.44,0.35
set label 4 "] C/mol" at graph 0.84,0.35
set label 5 "from that: Avogadro-constant:" at graph 0.38,0.28
set label 6 "N_A = " at graph 0.38,0.22
set label 7 sprintf("%.5e",a/1.602176487e-19) at graph 0.47,0.22
set label 8 "particles/mol" at graph 0.65,0.22
important: without the "set fit errorvariables" you won't have the
"_err"-Variables!
--
View this message in context: http://www.nabble.com/Label-value-from-file-and-caption-under-the-graph-tp5680184p23241376.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|