FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

scaling of x achsis

Page d'accueil ' Communauté ' Généralités ' scaling of x axisis

Voir les messages de 4 - 1 à 4 (sur un total de 4)
  • Auteur
    Messages
  • #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…

Voir les messages de 4 - 1 à 4 (sur un total de 4)
  • Vous devez être connecté pour répondre à ce sujet.