Page 1 of 1

Curved line

Posted: Sun Feb 26, 2006 12:21 pm
by hugo
Hello,
I'm form the Netherlands, and for school I need the following 'thing':

I have to make a plot with on Y:speed (cm/sec) and X:time (sec).

But the line has to be curved like this: www.vanmeijeren.nl/grafiek.png
-->Or like in the screenshot on your homepage, first image.


Is there anybody who can tell me how to do this?


Thanks!


Hugo van Meijeren

Posted: Sun Feb 26, 2006 12:40 pm
by DPlotAdmin
DPlot only gives the illusion of drawing curves; all graphs are simply straight line segments between data points. Of course the more data points you have, the smoother the "curve" will appear to be. There are a couple of things you can do to generate more data points that are an approximation of your original data:

1. Use Edit>Equal Intervals with a small spacing and either the Quadratic, Cubic, or Cubic Spline interpolation methods.

2. Use Generate>Polynomial Curve Fit with order set to 2 or higher. When prompted for the number of fitted points to generate, the default value will be the same number of points as the input has. Increase that number to 1000 or so and you'll get a smooth curve.

Edit>Equal Intervals is guaranteed to produce a result that passes through all of your original data points, but it might do goofy things at either end of your data depending on how smooth your input is.

Posted: Sun Feb 26, 2006 2:23 pm
by hugo
That did it! :D


Thank you very much.
(Also for your very quick reply!!!)


Hugo van Meijeren