Azzera filtri
Azzera filtri

axes coordinates for plotting figure

1 visualizzazione (ultimi 30 giorni)
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
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
Samer Husam
Samer Husam il 23 Set 2012
thanks a lot Mr. Azzi.. its exactly what I am looking for. thanks again for this answer

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graphics Object Properties in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by