# getting equation from a surface-fit model

Hi.
I have a data set like following:
x = [2.06, 2.07, 2.14, 2.09, 2.2, 2.05, 1.92, 2.06, 2.11, 2.07]
y = [171.82, 170.8, 159.59, 164.28, 169.98, 162.23, 167.37, 173.81,166.66,
155.13]
z = [-1.41, -1.26, -1.07, -1.07, -1.46, -0.95, -0.08, -1.28, -1.2, -0.86]

Using matplotlib, scipy.linalg.lstsq function I've got a surface-fit model.
But is it possible to print the "equation of the surface ??"
Found no clue in documentation page.

thank you.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-equation-from-a-surface-fit-model-tp45490.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

This question would be much more suited for the scipy mailing list.

···

On Fri, May 8, 2015 at 2:19 AM, diffracteD <abhisek.mndl@…287…> wrote:

Hi.

I have a data set like following:

x = [2.06, 2.07, 2.14, 2.09, 2.2, 2.05, 1.92, 2.06, 2.11, 2.07]

y = [171.82, 170.8, 159.59, 164.28, 169.98, 162.23, 167.37, 173.81,166.66,

155.13]

z = [-1.41, -1.26, -1.07, -1.07, -1.46, -0.95, -0.08, -1.28, -1.2, -0.86]

Using matplotlib, scipy.linalg.lstsq function I’ve got a surface-fit model.

But is it possible to print the “equation of the surface ??”

Found no clue in documentation page.

thank you.

View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-equation-from-a-surface-fit-model-tp45490.html

Sent from the matplotlib - users mailing list archive at Nabble.com.

One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi.
Thanks for the suggestion.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-equation-from-a-surface-fit-model-tp45490p45492.html
Sent from the matplotlib - users mailing list archive at Nabble.com.