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

Respuestas (1)

bym
bym el 7 de Ag. de 2011

0 votos

you could try
[x,y] = ginput(2);
line(x,y)

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Sam
el 7 de Ag. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by