LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing data point on Graph using a mouse to select pts

I would like to be able to add a point to a (overlayed multiplot) graph using the mouse cursor to select a point. Additionally it would be most useful to be able to select a data point in order to delete it and/or replace witha new poistion by enterering x,y values or clicking on the graph. This is a last minute VI I try to get running for data cleaning/reviewing on garph (in my case EKGs).

Thanks,
Donat-Pierre
0 Kudos
Message 1 of 3
(3,042 Views)
> I would like to be able to add a point to a (overlayed multiplot)
> graph using the mouse cursor to select a point. Additionally it would
> be most useful to be able to select a data point in order to delete it
> and/or replace witha new poistion by enterering x,y values or clicking
> on the graph. This is a last minute VI I try to get running for data
> cleaning/reviewing on garph (in my case EKGs).
>

You will need to have some buttons to do the add and delete, and the
easiest way to point to something on a graph is to use a graph cursor.
Rather than just clicking on the graph, you grab the cursor and drop it
on the graph where you want to affect. You can have the cursor free,
snapping to any plot, or locked to a single plot. The cursor dis
play
also has numeric displays you can type into.

I believe some VIs were written to map between a pixel point and the
graph scales values, but I'm not sure how thorough this VI is or where
it it located.

Greg McKaskle
0 Kudos
Message 2 of 3
(3,042 Views)
Greg,

I did dnot figure out how to reply to you directly but I wanted to thank you for your quick reply. You are right graph cursors seem to work. Also they will allow to add as many annotations as I want on my graph/chart (i..e vertical line with a comment) - at LabView group meeting before Xmas I was told I could get only two cursor?
I could not locate the vi you mentionned, so I am re-inventing the wheel. It seems to work.

Thank you again.
0 Kudos
Message 3 of 3
(3,042 Views)