axes coordinates for plotting figure

1 visualización (últimos 30 días)
Samer Husam
Samer Husam el 23 de Sept. de 2012
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

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 23 de Sept. de 2012
Editada: Azzi Abdelmalek el 23 de Sept. de 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 comentario
Samer Husam
Samer Husam el 23 de Sept. de 2012
thanks a lot Mr. Azzi.. its exactly what I am looking for. thanks again for this answer

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by