Picking exact data on a plot with ginput

13 views (last 30 days)
I plot a line with experimental data (x,y). Then I want to pick, with ginput, EXACTLY, some of the data on the graph. Is it possible? How can be done?

Answers (1)

Adam Danz
Adam Danz on 25 Oct 2019
See this answer. It shows two methods of obtaining the coordinates of a data point by clicking on it. The ginput() idea is explained in method #2. If you have any other quesitons, feel free to comment here (or in that link).
  15 Comments
Luigi Sambuelli
Luigi Sambuelli on 30 Oct 2019
Grrrrrrrrr
Thanks, nice and true!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!