Hi,
This is more of a question of logic than coding… but here goes. I’ve got an array of points, and when plotted on a graph in flash it shows something like this:
The blue points just highlight the points of each spike. While the red points are points I want to find.
My question is, how do I find the red points on each spike?
At first I tried sorting through the array for the highest points, but that didn’t give me all the red points as some blue points are higher than the red points.
Just by looking at the graph I can immediately see the points I need, but it’s a bit harder to find those using code…
Does anyone have any ideas on how to find those points?