Select points from graph: graphpoints
Updated 16 Oct 2016
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.
Bill Whiten (2023). 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
Platform CompatibilityWindows macOS Linux
- MATLAB > Graphics > 2-D and 3-D Plots >
Inspired by: Optional function arguments
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.