FlexPro Forum – Discuss Your Topic!

scaling of x achsis

Home > Community > General > scaling of x achsis

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12740

    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

    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
    Participant

    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

    Thank you very much Mr. Support :wink:,

    now ist works.
    There are so many details…

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