Forum FlexPro – Discuss your topic!

Automatic Marker using FPScrict

Home > Community > FPScript > Automatic Marker using FPScrict

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12837
    HerveM1234HerveM1234
    Teilnehmer

    Hi,

    With a FPS function I detect events on a signal.
    Is there a way to set a Marker on the curve using FPScript?
    For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.

    Thanks in advance
    rv

    #8497
    HerveM1234HerveM1234
    Teilnehmer

    Hi,

    With a FPS function I detect events on a signal.
    Is there a way to set a Marker on the curve using FPScript?
    For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.

    Thanks in advance
    rv

    #9333
    Bernhard KantzBernhard Kantz
    Teilnehmer

    There is no way to set marker(s) from FPScript, but there are other ways to achieve the same goal.
    Let your FPScript formula extract the desired points as a signal. Add it to the diagram. Using the Properties window of the new curve, switch off the Connection Line and activate the Data Labeling. In the Text field enter
    Y = %
    X = %

    (you may add some formatting too, e.g. %.3f for three decimals).
    Change the Angle to 0°, the Position to Top Right and the Background to the desired color. If you want to see the points too, turn on the Symbols and choose the appropriate Type and Colors.

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.