creating plot with random values

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

Moderator: DPlotAdmin

Post Reply
User avatar
Roberto
Posts: 102
Joined: Sun Mar 16, 2008 6:11 am
Location: Netherlands Beek en Donk

creating plot with random values

Post by Roberto »

Hi,

Is there a way in DPlot to create a plot based on only a few known values?
I have the impression that DPlot needs all x/y values while x values need to increase with fixed steps (otherwise that area of the plot is stretched out).
Currently I want to plot together a brief list of x/y values; basically enough to create a plot manually with pen and paper since you can predict the shape of the curve already when drawing the cooridinates in a grid.
It would be great if DPlot could connect the dots with curved lines but I'm already happy if it would connect the known values by straight lines but in a way that the scaling is respected and not squeezed in or stretched out between two points when the known values haven't x-values that increase with fixed step sizes.
Cheers,
Roberto
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

For a smooth curve that passes through your data points, see Edit>Equal Intervals and use cubic spline interpolation with a small interval.
Visualize Your Data
support@dplot.com
User avatar
Roberto
Posts: 102
Joined: Sun Mar 16, 2008 6:11 am
Location: Netherlands Beek en Donk

Post by Roberto »

Hi,
Thanks for the info!
It's not exactly a solution to my main issue but I finaly figured it out how to create plots based on only a few "random" coördinates and the feature you described improves the curve even further! :-P
Very cool feature; I bet I will use it quite often since manually measured values often vary a bit in y=values.

Unfortunately importing fragmented data didn't work out (also rows with fixed x-steps and unknown values filled in with zeros). Later I was experimenting a bit with the Data Edit box and filling in dummy zeros resulted in weird plots. Then I found out the dummy values weren't necessary at all and got stuck with only one problem: a drawn line from end-point back to origin since when adding data ("add button"; assuming it was also functioning as a "confirm last entered value" button) a new line pops up with x=0, y=0. Solution turned out to be very simple, though: the "Delete" button also works on that last data line :-)))

Luckily I already figured it out so I could go ahead with my main goal (not expecting I would get a reply so soon or at all) but thanks a lot for the quick reply and the useful contents afterall :-P

Cheers,
Roberto
Post Reply