How to click points in a figure to generate a function/set of data?

4 次查看(过去 30 天)
I remember there being a function or plugin in MATLAB that allowed the user to click on points in a figure to generate a set of datapoints that MATLAB may or may not have converted into an x-y equation. The user interacted with the figure through a GUI. It has been a long time since I used it, but I am now in need of it and can't find it. I was wondering if there was anyone that knew of this plugin/function and, if so, could direct me to where to find it. Thanks!

回答(1 个)

Rik
Rik 2021-2-23
编辑:Rik 2021-2-23
I would suggest getpts, although there is an alternative that gives visual feedback: ginput.

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by