.. highlightlang:: us .. index:: Local Minima and Maxima .. index:: Peaks .. index:: Valleys .. index:: y^data-find-peaks .. _data-find-peaks: Data=>Find Peaks ---------------- This command creates a new dataset with local minima and minima. The function can search for maxima, minima or maxima and minima. The search starts with the first maxima. The values will be displayed as markers. .. image:: S:/uniplot-obj/images/DataFindPeaks-en.* .. us.dialog .. us.dlgitem **Threshold** Is the peak threshold. Only peaks are detected where the difference between adjacent extreme values are greater than the threshold. The value can be specified absolut or as a percent value of the y data range. .. us.dlgitem **Type** Is one of the following options. .. list-table:: :header-rows: 1 * - Value - Description * - 1 - Local Maxima * - 2 - Local Minima * - 3 - Local Minima und Maxima .. us.dlgitem **Label Dataset** Label the local maxima und minima with there value. .. us.dialog .. seealso:: :ref:`data`, :ref:`detect_peaks`, :ref:`auto_xy_Peaks` :sub:`id-2097043`