Skip to main content
1-Visitor
Solved

XY Scatter

I a trying to get to grips with the graphing capability of Mathcad.

In the attached I have used a polyfit which obviously is not what I want (I am not sure how to use other graphing functions).

How can I get a line of best fit approach?

Werner_E
Werner_EAnswer
25-Diamond I

Ah! I have not read the text thoroughly enough and did not read that a regression line is searched for.

You can also use "polyfit" for that case:

And in case you need the coefficients, you may use "polfitc":

or the built-in "line" command:

7 replies

awibroe1-VisitorAuthor
1-Visitor
23-Emerald V

Instead of:

Try these:

Then:

Success!

Luc

Translate
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I

Ah! I have not read the text thoroughly enough and did not read that a regression line is searched for.

You can also use "polyfit" for that case:

And in case you need the coefficients, you may use "polfitc":

or the built-in "line" command:

Translate