04-11-2013 10:26 AM
How can I create a focus rectangle or rubber band rectangle selection tool inside an intensity graph?
I need to be able to select several plots with a rubber band like selector (rectangle) from inside of an intensity graph on my C# Form.
This selector would give me the (x,y) of a 3X3 or 4X4 area of plots from an existing graph of say 64X64 plots.
Currently I have a cursor which only gives me a single plot for (x,y).
04-12-2013 12:53 PM
Hi bill_donahue,
Do you want to get all the individual (X,Y) values inside of a rectangle that you specify? Or did you want to zoom into the rectangular area selected? For the latter, you can use ZoomXY and detect where the mouse was clicked and released to figure out the coordinate parameters.
04-15-2013 06:59 AM - edited 04-15-2013 07:06 AM
Humphrey,
I need to get all of the (X,Y) plot data inside of a drawn rectangle. My systems engineer wants to be able to select an area from a waveform graph, or intensity graph.
So it would be similar to the Zoom rectangle but instead of zooming, my C# application that uses Measurement Studio 2013, would be able to manipulate the individual
(X,Y) elements. Are there any native features that will do this, I was thinking that I might have to use two cursors.
Thanks,
Bill
04-15-2013 01:05 PM
Bill,
I don't believe there is a native function for this. You can probably extract the data after finding the X and Y range of the selected area (using the cursors or the min/max of the axes).
04-16-2013 06:51 AM
Humphrey,
How do I get a "selected area" ? That is my issue, how can I select an area from a graph, and how can I tell what that selected area is?
Bill
04-17-2013 11:20 AM
Bill,
You can use two cursors to select the area. These relevant posts may be helpful: http://forums.ni.com/t5/Measurement-Studio-for-VB6/region-of-interest-cwgraph3d-selection/m-p/148239... , http://forums.ni.com/t5/Measurement-Studio-for-VB6/Selecting-Data-in-CWgraph-by-drawing-a-Rectangle/... , http://forums.ni.com/t5/Measurement-Studio-for-NET/How-do-I-select-or-identify-multiple-points-on-a-...