Hey guys,
I've discovered some nasty issue.
When I fit a linear function to a set of measurement values and then plot both, f(x) is only displayed along the range that is aswell covered by the measurement values. Though, I would like to have the linear function plotted over the whole range I've defined.
Does anyone know how to fix this?
Best regards
Nico
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
plot [l:u] "data", a+b*x title "fit"
On Apr 23, 2016 10:56, "Nicolai Grund" niggo9393@users.sf.net wrote:
Hey guys,
I've discovered some nasty issue.
When I fit a linear function to a set of measurement values and then plot
both, f(x) is only displayed along the range that is aswell covered by the
measurement values. Though, I would like to have the linear function
plotted over the whole range I've defined.
Does anyone know how to fix this?
You forgot to tell how you defined that range you want the function plotted in. Note that if you never told gnuplot about that range, there's just no way it can respect it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys,
I've discovered some nasty issue.
When I fit a linear function to a set of measurement values and then plot both, f(x) is only displayed along the range that is aswell covered by the measurement values. Though, I would like to have the linear function plotted over the whole range I've defined.
Does anyone know how to fix this?
Best regards
Nico
Is it feasible to add the line directly:
plot [l:u] "data", a+b*x title "fit"
On Apr 23, 2016 10:56, "Nicolai Grund" niggo9393@users.sf.net wrote:
You forgot to tell how you defined that range you want the function plotted in. Note that if you never told gnuplot about that range, there's just no way it can respect it.