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

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 23 Set 2012
Modificato: Azzi Abdelmalek il 23 Set 2012

0 voti

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 Commento

thanks a lot Mr. Azzi.. its exactly what I am looking for. thanks again for this answer

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by