Topic
scaling of x achsis
Page d'accueil ' Communauté ' Généralités ' scaling of x axisis
- Ce sujet contient 3 réponses, 2 participants et a été mis à jour pour la dernière fois par Markus Janssen, le il y a 13 années et 9 mois.
-
AuteurMessages
-
15.08.2011 à 15:47 #34328Markus JanssenParticipant
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
15.08.2011 à 15:47 #34331Markus JanssenParticipantHello,
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
16.08.2011 à 09:23 #34329Bernhard KantzParticipantThe 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]
17.08.2011 à 15:19 #34330Markus JanssenParticipantThank you very much Mr. Support :wink:,
now ist works.
There are so many details… -
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.