이전 댓글 표시
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
Kavish Chaurasia
2011년 6월 29일
there is a tool to locate the coordinate on a particular graph, which could be seen as an icon on the graph window.
채택된 답변
추가 답변 (1개)
Gerd
2011년 6월 29일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!