markpeak function

Mark peakMarks location of the first spectrum at the data point closest to the specified position on the current plot.