Switch on/off peak labeling depending on the peak

If you want to label the peaks depending on certain peak properties, you must create a customized expression for the peak labels.

  1. In Multi Signal Plot Properties, select the Peak Labels page.

  2. Make sure, the Show Peak Labels check box is selected.

  3. Under Peak Labels, select No Label for the labels 2 to 4.

  4. Click fx... to create a customized expression for Label 1.

  5. The Expression Editor opens.

  6. Enter one of the following expressions, according to your requirements.

    Expression

    Description

    =iif(Peak_Area> 5, Str(Round(Peak_RetentionTime, 2)), "")

    Shows the retention time rounded to two decimals, but only for peaks with a calculated area greater than five.

    =iif(UCase(Compound_Name)="TRAMADOL", "*** Tramadol found ***", "")

    Shows the label "*** Tramadol found ***" for the Tramadol peak. All other peaks remain unlabeled.

  7. Save the settings.