Jump to content
Software FX Community

Rubber band selections of data points on XY scatter


User (Legacy)

Recommended Posts

Posted

Hi guys,

Is there any way to select multiple data points on a XY scatter plot using a

selection process similar to the zoom functionality in the ActiveX component

?(IE. a process which selects a boxed area on the graph and passes all

inclusive data points off to an external function.).

This would be a great piece of functionality, for example, to exclude

outlying or erroneous data points for statistical analysis on data sets.

The example given at :

http://support.softwarefx.com/Samples/CfxIE/ActiveX/PixelToValueWithConstantline.asp

could work if it allowed a selection process, and then found all data points

that exist within the extents of the boundaries of the selection.

Any thoughts?

Thanks in advance.

Grey Properjohn

Posted

You can implement this fairly simple.

Once you know which rectangle is selected (using a similar process as the

one in the sample you mentioned) you can simply go through your points and

using MarkerToPixel figure out which points are inside of this rectangle.

--

FP

Software FX

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...