Mercurial > hg > octave-lyh
changeset 17183:4bb7ae321901
pbaspect.m: Fix typo in property name in cset 6a1aa61b5b16.
* scripts/plot/pbaspect.m: Fix typo in "plotboxaspectratio" name.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 04 Aug 2013 18:01:57 -0700 |
parents | c3c1ebfaa7dc |
children | abf384f5d243 |
files | scripts/plot/pbaspect.m |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/pbaspect.m +++ b/scripts/plot/pbaspect.m @@ -72,9 +72,9 @@ arg = varargin{1}; if (isreal (arg)) if (numel (arg) == 2) - set (hax, "plotboxaxspectratio", [arg, 1]); + set (hax, "plotboxaspectratio", [arg, 1]); elseif (numel (arg) == 3) - set (hax, "plotboxaxspectratio", arg); + set (hax, "plotboxaspectratio", arg); else error ("pbaspect: PLOT_BOX_ASPECT_RATIO must be a 2 or 3 element vector"); endif @@ -82,11 +82,11 @@ arg = tolower (arg); switch (arg) case "auto" - set (hax, "plotboxaxspectratiomode", "auto"); + set (hax, "plotboxaspectratiomode", "auto"); case "manual" - set (hax, "plotboxaxspectratiomode", "manual"); + set (hax, "plotboxaspectratiomode", "manual"); case "mode" - pbratio = get (hax, "plotboxaxspectratiomode"); + pbratio = get (hax, "plotboxaspectratiomode"); otherwise error ("pbaspect: Invalid mode <%s>", arg); endswitch