Clear Filters
Clear Filters

Interactive Plot that returns a value

3 views (last 30 days)
Hello,
I wanted to know how to create a "interactive" plot in matlab in which the program pauses while the graph is displayed and user has to select a certain value in the graph, then the program continues execution with the value chosen by the user.

Accepted Answer

Adam Danz
Adam Danz on 9 Mar 2020
Check out ginput() and let us know if you have any quesitons or problems.
  4 Comments
Harish Rajan
Harish Rajan on 9 Mar 2020
Thank you, i will try this solution !
Adam Danz
Adam Danz on 9 Mar 2020
Ok, i'll be here if you get stuck.

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!