get_figure_region

Version 1.0.0.0 (2.74 KB) by Randall
Hand-select points in a figure and return the x and y values, while plotting points selected.
214 Downloads
Updated 27 Aug 2013

View License

This is a simple extension of the ginput tool that allows the user to hand-select points on a figure. The differences between this and the normal ginput tool are as follows:
a) The selected points are plotted as a line while the selection is being made, so it is easy to see what points have been chosen (this plot is removed after the selection is complete).
b) Pressing ESC or 'x' cancels the selection.
c) The tool can be told which axes to work with.

Cite As

Randall (2024). get_figure_region (https://www.mathworks.com/matlabcentral/fileexchange/43221-get_figure_region), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0