Select points from graph: graphpoints
[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 (2024). 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 Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
graphpoints/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |