# HG changeset patch # User John W. Eaton # Date 1243354342 14400 # Node ID de255681c85f4b1e1704b429f4e77f6430a0b940 # Parent 95445f9f5976fe243d88df0372165a41828ab9db colorbar: downcase location argument diff -r 95445f9f5976 -r de255681c85f scripts/ChangeLog --- a/scripts/ChangeLog Tue May 26 12:00:00 2009 -0400 +++ b/scripts/ChangeLog Tue May 26 12:12:22 2009 -0400 @@ -1,3 +1,7 @@ +2009-05-26 John W. Eaton + + * plot/colorbar.m: Downcase location argument. + 2009-05-26 Carlo de Falco * pkg/pkg.m: Add "version" field to the structure returned by "pkg diff -r 95445f9f5976 -r de255681c85f scripts/plot/colorbar.m --- a/scripts/plot/colorbar.m Tue May 26 12:00:00 2009 -0400 +++ b/scripts/plot/colorbar.m Tue May 26 12:12:22 2009 -0400 @@ -71,7 +71,7 @@ || strcmpi (arg, "east") || strcmpi (arg, "west") || strcmpi (arg, "northoutside") || strcmpi (arg, "southoutside") || strcmpi (arg, "eastoutside") || strcmpi (arg, "westoutside")) - loc = arg; + loc = tolower (arg); elseif (strcmpi (arg, "off") || strcmpi (arg, "none")) deleting = true; else