Monday, March 21, 2011

Click and get the co-ordinates of a plot

Getting the co-ordinates of the desired points in matlab plot can be tricky.
ginput useful!
Do:

[x,y] = ginput(n)

and hit enter/spacebar to exit if no n is specified.

No comments: