How to select a set of points in a xy graph contained in an area draw with the cursor ?

I'm using tIhe XY graph to plot a Pointcare representation of RR intervals (heart beat). I would like to use the mouse to draw a polygone surrounding the points of interest and get their indexes from the original array. Thank you to oriented me to some strategy!
Olivier 
Solved!
Go to Solution.

This can be done, but unfortunately is not trivial. Since this is the second request I have seen in the last week for this type of functionality, I would encourage you to post the idea to the LabVIEW Idea Exchange.
All graphs have a front, middle, and back image, which is set using a picture control data type.  You can use this to draw your cursor using an unfilled rectangle.  You can capture mouse events on the XY graph using the event structure, and update your enclosed rectangle (or ellipse, or whatever you would like to draw) when the mouse moves.  You can extract the enclosed data points from your original data set when a mouse up event occurs or when the user clicks inside the rectangle after drawing it.  You may also want to include ways to tweak the boundaries of the rectangle.
This is relatively straightforward if you have used the event structure before, but could be very confusing if not.  Let us know if you need more information or help.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

Maybe you are looking for

  • How do I build a dynamic business service URL in OSB 11g?

    Hello, I am used to using the business service endpoint URIs that we configure on the Transport tab of our business services in OSB 11.1.1.6.  We can add multiple static entries here for load balancing, and we can overwrite these with a Customization

  • Delivery quantity should not exceed order or confirm quantity

    Dear Friends, How to handle a below scenario, Sales order is for 100 Tons.Partial delivery is allowed. Now delivery quantity should be equal to 100 Tons.Delivery quantity should not exceed order quantity. I mean delivery quantity must be equal to ord

  • WebElements Crystal 2008 Crystal Server

    How do you configure HTML TAGS to work in Crystal 2008. When using WebElements I can ONLY view HTML Code and not the complents translation. I use the standard out of the Box install with Crystal Server and it set up MySQl with TomCat 5.5 I did adjust

  • IMac wont start up after upgrade to Mavericks

    I installed Mavericks as an upgrade to OS X 10.6.8 on my iMac and with in a half an hour of use my computer froze, I have tried all the normal rebooting techniques but my opening screen still has the vertical green stripes, even after using the disk

  • Reverting from advanced audit policies back to basic

    Hey, I'm trying to revert back to basic audit policies after using advanced polies. The policy is set locally on the DC server 2012. I've tried doing this: http://support.microsoft.com/kb/921468. There are no advanced polices set. When I set the basi