03-26-2013 02:31 PM
Hi,
I am using VBS to create reports from raw data. Sometimes the plots in these reports have hundreds or thousands of data points, but sometimes they only have 1 or 2. I have the "Smooth Curve" option checked in these charts to show the lines as smooth curves rather than jagged lines. However, when there are only 2 points, the smooth curve function makes up a curve to connect the two points rather than draw a straight line between them. It arbitrarily assigns a concave or convex curve between the points.
Does anybody else know of this or have a way to correct DIAdem's assumption that the line should be curved? I suppose that I could put a snippet of code in that checks if there are less than 2 data points in the set and if so, remove the Smooth Curve feature, but I don't think that should be necessary.
Thanks in advance!
Solved! Go to Solution.
03-27-2013 10:49 AM
Hi GT_Mark,
That sounds like a valid complaint, since no curvature can be inferred from 2 data points. Unfortunately, I know of no way to configure or improve the "Smooth Curve" option in DIAdem, so I'm going to recommend you implement the software switch you suggested to turn off the "Smooth Curve" display below a certain threshold of data points being plotted.
Brad Turpin
DIAdem Product Support Engineer
National Instruments