Question: On gnuplot we want a script that takes as arguments one or several data files, and obtains from each of these files the parameters of

On gnuplot we want a script that takes as arguments one or several data files, and obtains from each of these files the parameters of a linear regression, that is, the slope and the intercept to the origin. These two data are to be written to a text file whose name is the original name of the chosen file among all those that were put as script argument, preceded by "slopeIntercept". We then want to save this to a file, gnuplot doesn't print to standard output, so to print to standard output anything working with the internal command print, we must add the comand set print "-".

Please try explaing sections.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!