Discussion:
[Matplotlib-users] getting equation from a surface-fit model
diffracteD
2015-05-08 06:19:26 UTC
Permalink
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.

Please help !
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.
Benjamin Root
2015-05-08 12:46:13 UTC
Permalink
This question would be much more suited for the scipy mailing list.
Post by diffracteD
Hi.
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.
Please help !
thank you.
--
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.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
diffracteD
2015-05-08 14:46:39 UTC
Permalink
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.
Loading...