You will have to experiment with your own data, and probably adjust the 'VerticalAlignment' values in the text calls.. However this will do all the calculations and the plotting.
Use the equation (or values) for the line, and plot the numbers just as you have plotted them under the circles. If you do not have an equation for the line that gives you the values for it at every ‘x’ value, use the interp1 function to calculate them.
Best Answer