FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

scaling of x achsis

Home page Community General scaling of x axes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34328
    Markus Janssen
    Participant

    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: [i]10*GlobalMaximum(Signal, EVENT_EXTRACT).X[/i]

    Why doesnt this work?

    thanks

    #34331
    Markus Janssen
    Participant

    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: [i]10*GlobalMaximum(Signal, EVENT_EXTRACT).X[/i]

    Why doesnt this work?

    thanks

    #34329
    Bernhard 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

    #34330
    Markus Janssen
    Participant

    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.