In much research, one spends incalculable time exploring the data, and often one will plot the data and think 'my, that little piece there is interesting, i wonder where those weird points are coming from...' Well, this program allows you to actually select the original data directly from a plot. If you like your particular plot in 3d, use getProjectionDirs to acquire projection directions that provide you a similar plot in 2d.
This program shows a scatterplot of the data X (d x n) projected onto the directions given by projdirs, which is d x 2.
The program then allows you to select a contour in the projection, left mouse button to add a point to the contour, right to add the last point. It then closes the loop, and returns the orginal data that lie within the contour on the projection (again, given by the projdirs).
Joshua Stough (2023). Select Data (https://www.mathworks.com/matlabcentral/fileexchange/37956-select-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: t_marigram.m v1.3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!