Select points from graph: graphpoints

Get coordinates and indices of points from a graph [xx,yy,indx]=graphpoints(x,y)

You are now following this Submission

[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 (2026). Select points from graph: graphpoints (https://nl.mathworks.com/matlabcentral/fileexchange/59755-select-points-from-graph-graphpoints), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Optional function arguments

Categories

Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0