source: MML/trunk/machine/SOLEIL/common/naff/naffutils/fmap_select.m @ 17

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 288 bytes
Line 
1function xy = fmap_select
2
3xy = [];
4% Loop, picking up the points.
5disp('Left mouse button picks points.')
6disp('Right mouse button picks last point.')
7hold on
8button = 1;
9n=0;
10while button == 1
11    [xi,yi,button] = ginput(1);
12    plot(xi,yi,'ro')
13    n = n+1;
14    xy(:,n) = [xi;yi];
15end
Note: See TracBrowser for help on using the repository browser.