# HG changeset patch # User John W. Eaton # Date 1206638804 14400 # Node ID a99c93f834045d68bff74b4c4102f2fd97bcb47a # Parent 6e7e29c2155b7755807c9f89f0cb511ea8a55347 __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-26 John W. Eaton * set/ismember.m: Set size of idx output correctly for empty args. 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