image thumbnail

Select points from graph: graphpoints

version 1.0.0.0 (26.4 KB) by Bill Whiten
Get coordinates and indices of points from a graph [xx,yy,indx]=graphpoints(x,y)

215 Downloads

Updated 16 Oct 2016

View License

[xx,yy,indx]=graphpoints(x,y)
Allows user to select any special points plotted on a graph for further examination. Thus extreme points, outliers, and boundary points including a Pareto boundary are easily identified. The coordinates of the points select are given plus the index of the points so they can be separated for special treatment.
The plot can drawn within this function or generated before calling this function if a more complex plot is desired. The function arguments optionally allow a subset of the data to be plotted. The graph can be rescaled between point selections to improve the ability to select the desired points.

To use current figure:
[xx,yy,indx,sect]=graphpoints()
to get values from an existing graph with multiple sections.
Read intro in graphpoints, or type “doc graphpoints” for more informatio.

Cite As

Bill Whiten (2021). Select points from graph: graphpoints (https://www.mathworks.com/matlabcentral/fileexchange/59755-select-points-from-graph-graphpoints), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Acknowledgements

Inspired by: Optional function arguments

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!