Mercurial > hg > octave-nkf
diff scripts/plot/private/__add_datasource__.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 95c3e38098bf |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/plot/private/__add_datasource__.m +++ b/scripts/plot/private/__add_datasource__.m @@ -24,7 +24,7 @@ function newargs = __add_datasource__ (fcn, h, data, varargin) if (nargin < 3) - error ("internal error"); + error ("__add_datasource__: a minimum of 3 inputs are required"); endif if (ischar (data))