Simple widget to get the coordinates of a point in a figure or axis.
Just select the current figure and type getpoint. A button with two fields will appear in the upper right corner. click the button, then the point and the coordinates will appear.
To access the coordinates in the workspace, type global gpx; global gpy; the coordinates are in those global variables.
Harry Lee (2023). getpoint (https://www.mathworks.com/matlabcentral/fileexchange/9181-getpoint), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!