FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

scaling of x achsis

Startseite ' Community ' Allgemein ' scaling of x achsis

Anzeigen von 4-Stellen - 1 bis 4 (von insgesamt 4)
  • Autor
    Beiträge
  • #34328
    Markus Janssen
    Teilnehmer

    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
    Teilnehmer

    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
    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

    #34330
    Markus Janssen
    Teilnehmer

    Thank you very much Mr. Support :wink:,

    now ist works.
    There are so many details…

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