# HG changeset patch # User John W. Eaton # Date 1206638766 14400 # Node ID 48edf48cd4dc65c20922f10b45ad1d97a75b60b4 # Parent d9eb2aec6d8457b255b323fa6f8619233cf0e294 __axis_label__: use name of caller in error message diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-03-27 John W. Eaton + + * plot/__axis_label__.m: Use name of caller in error message. + 2008-03-27 David Bateman * linear-algebra/planerot.m: Givens rotation function. diff --git a/scripts/plot/__axis_label__.m b/scripts/plot/__axis_label__.m --- a/scripts/plot/__axis_label__.m +++ b/scripts/plot/__axis_label__.m @@ -38,7 +38,7 @@ retval = h; endif else - error ("%s: expecting first argument to be character string"); + error ("%s: expecting first argument to be character string", caller); endif endfunction