Forum FlexPro – Discuss your topic!

scaling of x achsis

Home > Community > General > scaling of x achsis

Viewing 4 posts - 1 through 4 (of 4 total)
  • Autor
    Beiträge
  • #12740
    Markus JanssenMarkus Janssen
    Mitglied

    Hello,

    I would like to scale an x-achis with FPScript.

    e.g. The x-achsis of a spectrum should be 10 times from the x-value of the maximum

    I’ve tried: 10*GlobalMaximum(Signal, EVENT_EXTRACT).X

    Why doesnt this work?

    thanks

    #8406
    Markus JanssenMarkus Janssen
    Mitglied

    Hello,

    I would like to scale an x-achis with FPScript.

    e.g. The x-achsis of a spectrum should be 10 times from the x-value of the maximum

    I’ve tried: 10*GlobalMaximum(Signal, EVENT_EXTRACT).X

    Why doesnt this work?

    thanks

    #9205
    Bernhard KantzBernhard Kantz
    Teilnehmer

    The scaling end value must be a scalar. For that reason the return value of the FPScript formula also must be a scalar. Use the index operator to get a scalar instead of a data series:

    10*GlobalMaximum(Signal, EVENT_EXTRACT).X[0]

    support@weisang.com

    #9206
    Markus JanssenMarkus Janssen
    Mitglied

    Thank you very much Mr. Support :wink:,

    now ist works.
    There are so many details…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.