Topic
Cursor/Mark Global Max/Min
Startseite ' Community ' FPScript ' Cursor/Mark Global Max/Min
- Dieses Thema hat 4 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 17 Jahren, 9 Monaten von Werner Streich aktualisiert.
-
AutorBeiträge
-
25.08.2007 um 00:46 Uhr #33260Werner StreichTeilnehmer
Is there a feature in Flexpro to highlight/mark or make the Cursor go to a certain calculated value in a Chart?
For example I include the formula to find the value but I want the cursor in the 2D chart to jump to the Global Minimum/Maximum value. [img]uid3727_Standard View.jpg[/img]
25.08.2007 um 00:46 Uhr #33264Werner StreichTeilnehmerIs there a feature in Flexpro to highlight/mark or make the Cursor go to a certain calculated value in a Chart?
For example I include the formula to find the value but I want the cursor in the 2D chart to jump to the Global Minimum/Maximum value. [img]uid3727_Standard View.jpg[/img]
27.08.2007 um 18:18 Uhr #33261Bernhard KantzTeilnehmerYou can calculate the global Maximum
[code]
GlobalMaximum(Signal, EVENT_EXTRACT)
[/code]
and add the FPScript formula into the 2D-diagram as new curve. Activate the symbols for this curve. Now you see directly the global maximum of your signal in the diagram.
With the cursor you can go to the next or previous extremum. You can use the commands To Previous Peak Value and To Next Peak Value to move the cursor from peak value to peak value. On the Cursors tab in the Properties dialog box of a worksheet or document, you can specify whether local maxima, local minima or both are to be addressed. Here you can also enter a hysteresis, which determines what should or should not be recognized as an extremum. If some are skipped when navigating the extrema, you need to decrease the hysteresis. If small waves or noise in the course of the signal are recognized as extrema, then you need to increase the hysteresis.See also
Analyzing Data|Analyzing Signals with Cursors|Curosr Environment28.08.2007 um 01:21 Uhr #33262Werner StreichTeilnehmerI’ve managed to display the max/min values, but only witout an x-axis. The values are displayed on x-axis position 0.
How can I use the EVENT_Extract including the x-axis so I can see when the extracet value occoured.[img]uid3727_2D Diagram.jpg[/img]28.08.2007 um 03:15 Uhr #33263Bernhard KantzTeilnehmerIf the input signal of the [b]GlobalMaximum[/b] function is a signal with y- and x-components the result is also a signal. If the input signal is a data series you have to create signal:
[code]
Dim idx = GlobalMaximum(data, EVENT_INDEX)
Signal(data[idx],idx)
[/code] -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.