Mercurial > hg > octave-nkf
diff scripts/plot/__errcomm__.m @ 6404:2005c0169e36
[project @ 2007-03-14 14:42:47 by jwe]
author | jwe |
---|---|
date | Wed, 14 Mar 2007 14:42:47 +0000 |
parents | a5cd8b77e892 |
children | 76e3d985ae56 |
line wrap: on
line diff
--- a/scripts/plot/__errcomm__.m +++ b/scripts/plot/__errcomm__.m @@ -28,7 +28,7 @@ ## Author: Teemu Ikonen <tpikonen@pcu.helsinki.fi> ## 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 ();