Draw on plot using cursor
이전 댓글 표시
Hello, I'm trying to draw in some data on a plot that I have already created. Is there a way I could do this by clicking on the graph like you would in microsoft paint?
Thanks,
Sam
답변 (1개)
bym
2011년 8월 7일
you could try
[x,y] = ginput(2);
line(x,y)
카테고리
도움말 센터 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!