Gnuplot is a freeware package for plotting data and fitting functions. Implementing gnuplot on a Windows PC is straightforward. To get started, go to
If you read the README or INSTALL instructions, you will be bewildered by a lot of stuff that is generally not necessary to worry about. Try just unzipping the files and running the executable.
For linear fitting,
is a useful starting point.