LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to draw and erase line on XY graph while VI is running

Hi,
 
I have a XY plot with certain data and I have to analyse the slope and certain parameters of the graph for which I need to draw some temporary lines on the graph while VI is running. There is no fixed position of these lines their position depend on the shape of the already plotted data points..... Basically what I want is to be able to easily draw and erase a line as and when I want on my XY plot.
This is really important for analysis of the data in my application...... the cursors do not solve my problem because I cannot use them as lines of different slopes...
 
Thanks
 
Akash
0 Kudos
Message 1 of 4
(2,950 Views)

Hi Akash,

you can insert another plot to your data. See the attached example. To delete the additional plots connect only your data to the XY Graph.

Mike

Message 2 of 4
(2,942 Views)

Hi

Thanks, but this does not solve my problem, this demands that I should know the pts which I want to connect but I dont know which pts I need to connect.The problem on the other hand is reverse that is to say that I would first plot a line which is parallel to a section of my graph and then then I will try to find out its intersection with my graph and after I obtain that point of intersection I would like to remove that line and all this should happen while my VI is running... Does there exist some kind of tool in Labview which can help draw random lines............

Thanks a lot again,

Akash

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

Hi Akash,

like i understand you now, it would not help to only draw the line. You have to calculate the point of intersection.

Mike

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