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

2 ビュー (過去 30 日間)
Frances McBride
Frances McBride 2021 年 2 月 23 日
編集済み: Rik 2021 年 2 月 23 日
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 Center および File ExchangeCreating, 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