# HG changeset patch # User samer # Date 1358600971 0 # Node ID 8f4a21082c45db880f38bbae5130a4428b2c82e6 # Parent 79038cbcce0026b075fc18341215dfd30740855d It was wrong. Now it is right. diff -r 79038cbcce00 -r 8f4a21082c45 general/funutils/scanner_add_plotter.m --- 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