# HG changeset patch # User jwe # Date 1173883367 0 # Node ID 2005c0169e364f3c7c6d8a052383f2653944a21d # Parent 5011ac2fc23dadc282266f53282a7a4abb4d67c7 [project @ 2007-03-14 14:42:47 by jwe] diff -r 5011ac2fc23d -r 2005c0169e36 scripts/plot/__errcomm__.m --- a/scripts/plot/__errcomm__.m Tue Mar 13 14:46:02 2007 +0000 +++ b/scripts/plot/__errcomm__.m Wed Mar 14 14:42:47 2007 +0000 @@ -28,7 +28,7 @@ ## Author: Teemu Ikonen ## Keywords: errorbar, plotting -function retval = __errcomm__ (caller, h, varargin) +function retval = __errcomm__ (caller, p, varargin) if (nargin < 4) print_usage (); @@ -54,7 +54,7 @@ while (k <= nargs) a = varargin{k++}; if (ischar (a) || iscellstr (a)) - retval(idx++) = __errplot__ (a, h, data{1:ndata}); + retval(idx++) = __errplot__ (a, p, data{1:ndata}); break; elseif (isvector (a)) a = a(:); @@ -74,7 +74,7 @@ endwhile if (! (ischar (a) || iscellstr (a))) - retval(idx++) = __errplot__ ("~", h, data{1:ndata}); + retval(idx++) = __errplot__ ("~", p, data{1:ndata}); endif drawnow ();