Page 1 of 1

Fitting a line to an XYS surface

Posted: Mon Jul 16, 2018 1:13 pm
by dgavryus
I have an XYZ plot (x=0-78000, y=0-78000, 10.1k points) ranging from -10 to around -3.35. I need to fit a line to the points that are above -3.4. Is that possible with dplot?

The closest I could find is in Generate>XY plot from 3D surface or Generate>Best Fit Plane, but what i really need is an X=f(Y) or Y=f(X) line that follows the best fit curve of the 3D data.

Thanks for the help!

Posted: Mon Jul 16, 2018 3:51 pm
by DPlotAdmin
No, sorry, there is no way to do that. In the general case I can't see how this could (or at least should) be done, as those points could be all over the surface with no obvious line.

Posted: Mon Jul 16, 2018 8:25 pm
by dgavryus
I see. That makes sense. Is there a way, then, to add an XY line to the existing graph?

Posted: Tue Jul 17, 2018 6:47 am
by DPlotAdmin
No, there isn't.