Topic
Graph bearbeiten
Startseite ' Community ' Automation and VBA ' Graph bearbeiten
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 18 Jahren, 4 Monaten von stephan rieke aktualisiert.
-
AutorBeiträge
-
23.01.2007 um 00:53 Uhr #34936stephan riekeTeilnehmer
1.)Wie kann ich eine bestimmte Stelle im Graphen markieren, und zwar x und y ungleich 0, und anschließend das Integral ausrechnen?
2.)Wie kann ich mir einen kompletten datensatz ausgeben lassen, z.b. Maximum, sodaß aber auch der zugehörige x-Wert ausgegeben wird. Beide gleichzeitig und anschließend als Gerade im Graphen erscheint?
Danke für die Hilfe und Gruß
23.01.2007 um 00:53 Uhr #34938stephan riekeTeilnehmer1.)Wie kann ich eine bestimmte Stelle im Graphen markieren, und zwar x und y ungleich 0, und anschließend das Integral ausrechnen?
2.)Wie kann ich mir einen kompletten datensatz ausgeben lassen, z.b. Maximum, sodaß aber auch der zugehörige x-Wert ausgegeben wird. Beide gleichzeitig und anschließend als Gerade im Graphen erscheint?
Danke für die Hilfe und Gruß
23.01.2007 um 02:27 Uhr #34937Bernhard KantzTeilnehmer1)
You cannot just process complete data sets in diagrams, tables and analyses but also data ranges. You simply attach a range index in the form of [,] to the name of the data set which specifies the range you want. The index specifies the number, starting from zero, of the first and last row to be taken from the data set.
Such index operations are automatically created by FlexPro, if e.g. during the creation of a diagram you do not select whole data sets but only a cell range in a data editor window. The Cursor environment offers a command called Copy range, allowing you to create interactive sections from data sets.
Alternatively you can create a FPScript formula which calculates the integral:
Example:
[code]
Dim idx = ValuesInInterval(Signal, -0.1, 0.1, EVENT_INDEX+EVENT_COMPLEMENT)
Integral(Signal[idx])
[/code]
2) Use the [b]GlobalMaximum[/b] or the [b]Extrema[/b] function.
[code]
GlobalMaximum(Signal,EVENT_EXTRACT)
[/code]
If the result is a scalar value or a signal with 1 point you can activate the symbols for this curve in the diagram and use the [b]Horizontal line[/b] type. -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.