Interactive Plot that returns a value

2 Ansichten (letzte 30 Tage)
Harish Rajan
Harish Rajan am 9 Mär. 2020
Kommentiert: Adam Danz am 9 Mär. 2020
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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by