Ginput - showing the coordinates of the mouse in ginput

3 Ansichten (letzte 30 Tage)
Feri
Feri am 4 Mär. 2020
Kommentiert: Feri am 4 Mär. 2020
Hello,
How can I get the corrdinates of the mouse when ginput is collecting data? i.e. How can I show the coordinates of the mouse for example as the figure title?
Thank you in advance.
  2 Kommentare
Cam Salzberger
Cam Salzberger am 4 Mär. 2020
Do you want to get the coordinates while the mouse if moving in a continuous manner, or are you looking to update the title of the figure with the coordinates of each click, as the user is allowed to click multiple times?
Feri
Feri am 4 Mär. 2020
The first one, I want to see the exact location of the mouse when ginput is active.
The user clicks only once.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 4 Mär. 2020
  1 Kommentar
Feri
Feri am 4 Mär. 2020
Thank you, this function gives me the coordinates when the ginput is done executing. What I need is these coordinates when ginput is running/collecting data.
Could you tell me how this is done?
Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by