11-25-2005 06:22 AM
11-25-2005 09:28 AM
11-25-2005 09:29 AM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
11-25-2005 10:01 AM
CoastalMaineBird a écrit:
...You would have to search through your plotted data to find the closest X and Y points...
...You'll need to figure out what "closest" really means. If it's minimum distance, you'll have to figure the distance from your mouse X&Y to EACH point in your data [distance = sqrt((X1-X0)^2 + (Y1-Y0)^2)
Fortunately, this step is not required since the snap-to-point property do all the calculations for us.
So we can concentrate on the other difficulty that is to spot one of the corners of the graph plot area. In the example I attached, there is a problem when the X scale values are several digit wide.
11-25-2005 10:15 AM