Mercurial > hg > octave-lojdl
changeset 9262:de255681c85f
colorbar: downcase location argument
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 May 2009 12:12:22 -0400 |
parents | 95445f9f5976 |
children | be7d8132c139 |
files | scripts/ChangeLog scripts/plot/colorbar.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-05-26 John W. Eaton <jwe@octave.org> + + * plot/colorbar.m: Downcase location argument. + 2009-05-26 Carlo de Falco <kingcrimson@tiscali.it> * pkg/pkg.m: Add "version" field to the structure returned by "pkg
--- a/scripts/plot/colorbar.m +++ b/scripts/plot/colorbar.m @@ -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