Forum FlexPro – Discuss your topic!

Graph bearbeiten

Home > Community > Automation and VBA > Graph bearbeiten

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12409
    stephan riekestephan rieke
    Mitglied

    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ß

    #8092
    stephan riekestephan rieke
    Mitglied

    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ß

    #8675
    Bernhard KantzBernhard Kantz
    Teilnehmer

    1)
    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:

    
    Dim idx = ValuesInInterval(Signal, -0.1, 0.1, EVENT_INDEX+EVENT_COMPLEMENT)
    Integral(Signal[idx])
    

    2) Use the GlobalMaximum or the Extrema function.

    
    GlobalMaximum(Signal,EVENT_EXTRACT)
    

    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 Horizontal line type.

    support@weisang.com

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.