Forum FlexPro – Discuss your topic!

scaling of x achsis

Home > Community > General > scaling of x achsis

Ansicht von 4 Beiträgen - 1 bis 4 (von insgesamt 4)
  • 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…

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