Draw on plot using cursor
Show older comments
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
Answers (1)
bym
on 7 Aug 2011
you could try
[x,y] = ginput(2);
line(x,y)
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!