I would like to generate and display a 2D graph in a [url removed, login to view] windows form that shows 6 to 16 data points and calculates and displays a best fit curve.
My project displays the relationship of fuel consumption relative to heating degree days.
The X axis will increment in heating degree days like this;
0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 60, 55, 50, 45, 40, 35, 30, 25, 20, 15, 10, 5, 0
The Y axis will increment in Rate of Usage Factor like this;
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
As you see, 65 is the mid point of the X axis. The resulting curve will be a bell shaped curve, not of equal slopes.
Here is an example of 10 data points that would be plotted
On the left side of midpoint X;
15:12, 30:11, 40:10, 45:6, 55:5
On the right side of midpoint X;
60:4, 50:6, 30:9, 15:10, 10:12
You need to be able to display a graph, plot data points on the graph, calculate the best fit curve, display this curve on the graph.
You need to provide me the [url removed, login to view] code in a way that I will understand how to use it in my code project to diplay this graph for what ever data points I provide.
You need to provide me a function that will return me the Y value on the curve when I provide a X value.
I hope my description is clear to you. I can respond with more details if you wish.
You should be easy to communicate with. You should be proficient with [url removed, login to view] drawing on windows forms, know statistics and non - linear regression.