Topic
Automatic Marker using FPScrict
- This topic has 2 replies and 2 voices and was last updated 11 years, 5 months ago ago by HerveM1234.
-
AuthorPosts
-
27.11.2013 at 10:13 #33569HerveM1234Participant
Hi,
With a FPS function I detect events on a signal.
Is there a way to set a Marker on the curve using FPScript?
For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.Thanks in advance
rv27.11.2013 at 10:13 #33571HerveM1234ParticipantHi,
With a FPS function I detect events on a signal.
Is there a way to set a Marker on the curve using FPScript?
For example, the fuction calculates the maximum of a curve and I would like to place a marker at this maximum point automatically.Thanks in advance
rv28.11.2013 at 08:56 #33570Bernhard KantzParticipantThere is no way to set marker(s) from FPScript, but there are other ways to achieve the same goal.
Let your FPScript formula extract the desired points as a signal. Add it to the diagram. Using the Properties window of the new curve, switch off the [i]Connection Line[/i] and activate the [i]Data Labeling[/i]. In the [i]Text[/i] field enter
[b]Y = %
X = %[/b]
(you may add some formatting too, e.g. %.3f for three decimals).
Change the [i]Angle[/i] to 0°, the [i]Position[/i] to [i]Top Right[/i] and the [i]Background[/i] to the desired color. If you want to see the points too, turn on the [i]Symbols[/i] and choose the appropriate [i]Type[/i] and [i]Color[/i]s. -
AuthorPosts
- You must be logged in to reply to this topic.