LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show Line Between Cursors on a Graph

Solved!
Go to solution

Hi,

 

I have a simple intensity graph with two sets of cursors on it, called Cursor 1 and Cursor 2.  I would like to draw a line between the cursors so that when the user moves either cursor they can see a line overlaid on the graph.  Please see the attached file where Cursor 1 is green and Cursor 2 is purple.  I've used Paint to draw the black line on the graph that I would programatically like to add.  Thanks!

 

Steve

0 Kudos
Message 1 of 3
(3,163 Views)
Solution
Accepted by topic author Steve_G

Looks like you have an intensity graph. Easiest would e to use the "plot images" overlay.

 

A simple example is shown here.

 

Of course in your situation, you would get the cursor coordinates to define the line. Use e.g. a "cursor move" event to recalculate.

0 Kudos
Message 2 of 3
(3,138 Views)

Thank you!  This is exactly what I have been looking for.

Steve

0 Kudos
Message 3 of 3
(3,106 Views)