Select points from graph: graphpoints

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


Updated 16 Oct 2016

View License

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:
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 (2023). 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
Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers

Inspired by: Optional function arguments

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes