In gnuplot, is there a way to print the fit parameters automatically on the generated figure? For example, If I fit the data table
1 1
2 2
3 3
using:
a=1
b=1
f(x) = a*x + b
fit f(x) 'data' using 1:2 via a, b
I'll the result a=1 and b=0. I want to print them using something like
set label 'a=$a, b=$b' at (1,1)
show label
The $ trick doesn't work so I hoped you could give me some tips...