Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?windows-1252?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Fit 3D Line to data Date: Tue, 24 Feb 2015 20:16:09 +0100 Lines: 18 Message-ID: References: <68e9ed33-a7ef-4106-8730-151263df2011@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de EC7jnRfik7Ult76VaxCCdw4cFaALX1CRAiYh2wOC6Zz6zyAf1Wude2IRdg Cancel-Lock: sha1:+NcMIKO6/Klzag7ZFrKa95D9oVI= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <68e9ed33-a7ef-4106-8730-151263df2011@googlegroups.com> Xref: csiph.com comp.graphics.apps.gnuplot:2785 Am 23.02.2015 um 07:27 schrieb Erik Zweigle: > I am trying to fit a line to the 4 data points shown below. That's not a well-defined task, I'm afraid. Fitting a line to a dataset is reasonably well-defined in 2D, but not in 3D. > 377.4202, -345.5518, 2.1142 > 377.4201, -345.5505, 2.5078 > 377.4206, -345.556, 2.8359 > 377.4288, -345.5555, 3.2109 > > I only seem to be able to plot a plane with poor fitting. Of course. Those points don't even lie on any plane, much less on a single line.