Curved line

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
hugo
Posts: 2
Joined: Sun Feb 26, 2006 12:11 pm
Contact:

Curved line

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
hugo
Posts: 2
Joined: Sun Feb 26, 2006 12:11 pm
Contact:

Post by hugo »

That did it! :D


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


Hugo van Meijeren
Post Reply