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

4 Ansichten (letzte 30 Tage)
Frances McBride
Frances McBride am 23 Feb. 2021
Bearbeitet: Rik am 23 Feb. 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!

Antworten (1)

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

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by