I have plotted a graph from a CSV file which consists of two columns of data Time and Intensity. I simply want to find the time where the intensity is largest.
MaxIntensity = Max[Data[[All, 2]]]
outputs the correct value for the peak y axis value.
However, this code:
Position[Data[[All, 1]], MaxIntensity]
Also, this code:
Looking at the CSV file in a text editor the
429 is the line number where the peak value occurs, but I can't figure out what that
2 means and I can't use that output to pick out the corresponding time for index