Mercurial > hg > ishara
changeset 26:8f4a21082c45
It was wrong. Now it is right.
author | samer |
---|---|
date | Sat, 19 Jan 2013 13:09:31 +0000 |
parents | 79038cbcce00 |
children | 5de03f77dae1 |
files | general/funutils/scanner_add_plotter.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/general/funutils/scanner_add_plotter.m Fri Jan 18 22:45:11 2013 +0000 +++ b/general/funutils/scanner_add_plotter.m Sat Jan 19 13:09:31 2013 +0000 @@ -12,5 +12,5 @@ function f1=scanner_add_plotter(f,opts) opts=prefs('draw',0,varargin{:}); if ~opts.draw, f1=f; else ps=pauser(opts); f1=@g; end - function y1=g(y,x), y1={f(y,x),i}; opts.plotfn(x,y,y1); ps(); end + function y1=g(y,x), y1=f(y,x); opts.plotfn(x,y,y1); ps(); end end