changeset 6404:2005c0169e36

[project @ 2007-03-14 14:42:47 by jwe]
author jwe
date Wed, 14 Mar 2007 14:42:47 +0000
parents 5011ac2fc23d
children b298a4c12fc3
files scripts/plot/__errcomm__.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <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 ();