Draw on plot using cursor
Afficher commentaires plus anciens
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
Réponses (1)
bym
le 7 Août 2011
you could try
[x,y] = ginput(2);
line(x,y)
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!