How to find both peaks and valleys in a data using JSL
I am new to creating scripts and having trouble creating one that labels the peaks and valleys on the data. The goal is to actually label all valleys after the first Peak is detected. I am trying to simplify it by creating a script that graphs the data and labels all peaks and valleys to allow easier data analysis by my team. Tried to follow past instructions and it seems I just can't get it to wo...