Topic
Zugriff auf Datenreihen einer Matrix innerhalb einer Schleife
Page d'accueil ' Communauté ' FPScript ' Accès aux séries de données d'une matrice au sein d'une boucle
- Ce sujet contient 4 réponses, 2 participants et a été mis à jour pour la dernière fois par rax23@gmx.de, le il y a 20 années et 6 mois.
-
AuteurMessages
-
20.12.2004 à 23:48 #33354rax23@gmx.deParticipant
Gerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!
21.12.2004 à 00:33 #33351Bernhard KantzParticipantYou can extract individual values or sections from data series, data fields, signals, signal series and space curves with the index operator in FPScript.
Example:
[b]Data matrix[ScalarValue][/b] takes the column with the number speciefied in Scalar Value from the data matrix. The result is a data series.With the argument Mode in the FPScript function [b]Maximum[/b] you can determine one maximum per column / row. So you don’t need a For-Loop.
See also
FlexPro Online Help
Index Operator (FPScript)
Maximum-Function (FPScript)21.12.2004 à 01:10 #33352rax23@gmx.deParticipantThe question was how it is possible to access line by line data-values of a data-matrix!?
21.12.2004 à 01:26 #33350rax23@gmx.deParticipantGerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!
21.12.2004 à 01:26 #33353Bernhard KantzParticipant[b]Data matrix[ ] [ScalarValue][/b] takes the row with the number specified in ScalarValue from the data matrix. The result is a data series.
The table in the online help lists all of the possible combinations of the index operator.
-
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.