Does NSBezierPath do decimation as well as interpolation? I didn't find it in the Class Reference. Or is there another class that does it? Or must I do the decimation before plotting the data with NSBezierPath?
Decimation reduces the original sampling rate for a sequence to a lower rate, the opposite of interpolation. The decimation process filters the input data with a lowpass filter and then resamples the resulting smoothed signal at a lower rate. In my application, the math generates hundreds of points for accuracy, for every one that needs to be plotted to make a decent looking plot. Signal processing theory says that you can't just throw away points, or you can generate errors. For example, I might generate 25,000 points and be happy to look at a 200 point plot. Throwing 25,000 points at NSBezierPath might swamp it, or at least run very slowly. Nick_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com