Add data point to graph

Hi everyone, I wanted to create an application where the user can click in a plot and add his own points, lets say blue and red points. I will later get the position of each pont and store it in an array. Obviously this is way to big for someone to post a complete solution, i just want some hints though onto how to achieve that. Thanks in advance

 채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 8일

0 개 추천

ginput() is commonly used for getting points from the user.
You may wish to examine the MATLAB File Exchange, as getting points is a component of a number of the tools there.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by