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

7 visualizaciones (últimos 30 días)
Frances McBride
Frances McBride el 23 de Feb. de 2021
Editada: Rik el 23 de Feb. de 2021
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!

Respuestas (1)

Rik
Rik el 23 de Feb. de 2021
Editada: Rik el 23 de Feb. de 2021
I would suggest getpts, although there is an alternative that gives visual feedback: ginput.

Categorías

Más información sobre Calendar en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by