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!