LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to place numeric values on the peak in graphs

Solved!
Go to solution

Hi,

Is it possible to put numeric value over the peak of wave like in the below image where yellow points over the peak , can we put numeric value over peak?

 

graph.jpg

0 Kudos
Message 1 of 4
(2,725 Views)
Solution
Accepted by topic author rita86

This needs a lot of cleanup (and there's probably even be a better way in general), but this should at least get you started.

 

peak_labeling.png

 

I used Peak Detector.vi, which requires LV Full Development System.

 

 

Message 2 of 4
(2,707 Views)

@Drew_H wrote:

This needs a lot of cleanup (and there's probably even be a better way in general), but this should at least get you started.

 


I have another solution, but your solution is the one I would go with.  I'm simply giving another option because you took my suggestion.  Graphs also have the ability to overlay an image in the foreground or background using a property node.  You could draw a picture overlay with the values to be shown, and it would be placed over the graph.  This is a much bigger pain but more flexible because you are putting a picture over top.  This can be used for showing gradiants, or company logos behind the graph values.

0 Kudos
Message 3 of 4
(2,680 Views)

thanks a lot sir , its working fine.

0 Kudos
Message 4 of 4
(2,644 Views)