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


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

fitting points

Newsgroups comp.graphics.apps.gnuplot
Date 2014-09-21 22:24 -0700
Message-ID <eb1da355-00d0-4738-b595-8cbac13d9cd5@googlegroups.com> (permalink)
Subject fitting points
From mrossgatt@gmail.com

Show all headers | View raw


Given data points in 2D, I want to generate a curve which interpolates these points. The points should generate a closed curve, i.e. for one x-value I have 2 y-coordinates. 

I already tried the function -plot "data.dat" smooth- with different options but always ended in some problems.
Smooth bezier: approximates the data
Smooth splines: interpolates the data and sometimes the resulting curve oscillates. Furthermore the curve cannot be interpolated at once since the data points are sorted by the x-coordinate before fitting. 

Do you have any other suggestions?

Thanks!
Martha

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar | Unroll thread


Thread

fitting points mrossgatt@gmail.com - 2014-09-21 22:24 -0700
  Re: fitting points Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-09-22 20:07 +0200

csiph-web