Afficher commentaires plus anciens
hi
how can i select a point from a graph? i have a graph and i want to select a point from it and do some works with its coordinate(x & y). i want to select on graph and recieve x & y coordinate
thank u
1 commentaire
Kavish Chaurasia
le 29 Juin 2011
there is a tool to locate the coordinate on a particular graph, which could be seen as an icon on the graph window.
Réponse acceptée
Plus de réponses (1)
Gerd
le 29 Juin 2011
0 votes
When you run your m-file and nothing is selected on the graph the position variable is empty. When your m-file is finished the position is stored and you can display the result in the command window. I would suggest to use the callback function so everytime you click on your figure you receive the position values.
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!