axes coordinates for plotting figure

hi all,
I have a curve function plotted in GUI axes. so is there is a way that can get the coordinates of the mouse in the box of the axes. so user can know the coordinates of curve by moving the mouse on the curve.
Is there is a ways in MATLAB to do such a thing ?? your help really appreciated... thanks

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 23 Sep. 2012
Bearbeitet: Azzi Abdelmalek am 23 Sep. 2012

0 Stimmen

in your GUI editor
  1. click on "toolbar editor"
  2. then add a "data cursor" by double click
you can add other objects: zoom in zoom out, legend, colorbar, ...

1 Kommentar

Samer Husam
Samer Husam am 23 Sep. 2012
thanks a lot Mr. Azzi.. its exactly what I am looking for. thanks again for this answer

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Hilfe-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