LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

drawing vertical lines

Solved!
Go to solution
Hi, I am outputting data from a spectrometer onto a graph and wanted to add some vertical lines in the background to designate the peaks I am looking for. I was able to to use the "plot images: back" property node and "map xy to coordinates" but how do I draw lines not starting from the origin? Any suggestions are appreciated.
0 Kudos
Message 1 of 4
(2,499 Views)

Hi,

it depends on what graph you are using; for XY you can add something like (x1, y1), (x1, y2), (nan, nan), and so on,...the height of the line would be y2-y1

N

0 Kudos
Message 2 of 4
(2,491 Views)
Thanks for the reply. The problem is that I'm using a waveform graph and the input to the "draw line vi" is the endpoint. I'm not sure how to start the line anywhere other than the origin.
0 Kudos
Message 3 of 4
(2,473 Views)
Solution
Accepted by topic author bryantbeau

move pen

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,470 Views)