FlexPro Forum – Discuss Your Topic!

Automatic Marker using FPScrict

Home > Community > FPScript > Automatic Marker using FPScrict

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12837
    HerveM1234HerveM1234
    Participant

    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
    Participant

    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
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.