Topic
scaling of x achsis
Startseite ' Community ' Allgemein ' scaling of x achsis
- Dieses Thema hat 3 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 13 Jahren, 9 Monaten von Markus Janssen aktualisiert.
-
AutorBeiträge
-
15.08.2011 um 15:47 Uhr #34328Markus JanssenTeilnehmer
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 um 15:47 Uhr #34331Markus JanssenTeilnehmerHello,
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 um 09:23 Uhr #34329Bernhard KantzTeilnehmerThe 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 um 15:19 Uhr #34330Markus JanssenTeilnehmerThank you very much Mr. Support :wink:,
now ist works.
There are so many details… -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.