05-25-2012 11:23 AM
Friends,
I will be collecting about 20,000 data points. I would like to reduce the number of points to plot to about 300 to 500 points. (i call this filtering) I know there is an Advanced Analysis Library function that would do this; which one would be the best?
Dave
05-25-2012 01:06 PM
Hi,
one possibility without even using the Advanced Analysis Library is to use the 'point frequency' parameter in PlotXY:
PlotXY ( plot_handle, graph_control, x_array, y_array, 20000, VAL_DOUBLE, VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE, VAL_SOLID, 40, VAL_RED); this would plot every 40th point out of your 20000 data points.
05-26-2012 06:03 AM
Hi,
if you want to use your decimated number of points for other purposes as well, not just for plotting, you could use an extra function from the AAL: Decimate (), which can simply reduce the number of data points, or reduce them with averaging.
Wolfgang