Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3500

Re: Intersection point of data-plot and linear-function

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Intersection point of data-plot and linear-function
Date 2016-12-27 11:02 +0100
Organization solani.org
Message-ID <o3te7p$frn$1@solani.org> (permalink)
References <akdkmp$5gc$1@news.u-strasbg.fr> <akdgd6$7fg$1@nets3.rz.RWTH-Aachen.DE> <e7a6f432-0e04-4782-aa40-4629d93494b9@googlegroups.com>

Show all headers | View raw


Am 27.12.2016 um 00:13 schrieb Markus Grünwald:
> Just to be sure (because i need the same thing - and maybe there were lot of improvements till this last post):
> There is no way in gnuplot to get the intersection point of a data-set (or a smoothed spline of it) with a linear function (y=k*x+d)?
> 

No. At least no simple, straightforward way. Remember gnuplot is a
plotting tool, not a data evaluation suite.

If you can model your data by some analytical function(s) that you
can fit, then you could derive the intersection, and use "set label
point" to mark it.

If a simple linear regression (or rather two) fit you data, then
it's simple, and for that, you "just" have to limit the range
sufficiently. The trick will be to do that automatically and
reliably in gnuplot. Using densely sampled splines instead of the
actual data will probably help.

  Karl

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Intersection point of data-plot and linear-function Markus Grünwald <m_grueni@web.de> - 2016-12-26 15:13 -0800
  Re: Intersection point of data-plot and linear-function Karl Ratzsch <mail.kfr@gmx.net> - 2016-12-27 11:02 +0100
    Re: Intersection point of data-plot and linear-function Markus Grünwald <m_grueni@web.de> - 2016-12-28 15:43 -0800

csiph-web