# HG changeset patch # User Rik # Date 1375664517 25200 # Node ID 4bb7ae3219014f8a6a7f1f0402f86f89cd797099 # Parent c3c1ebfaa7dc588bf8a23378fbd3c08eb7fcd16a pbaspect.m: Fix typo in property name in cset 6a1aa61b5b16. * scripts/plot/pbaspect.m: Fix typo in "plotboxaspectratio" name. diff -r c3c1ebfaa7dc -r 4bb7ae321901 scripts/plot/pbaspect.m --- a/scripts/plot/pbaspect.m Sun Aug 04 15:11:34 2013 -0700 +++ b/scripts/plot/pbaspect.m Sun Aug 04 18:01:57 2013 -0700 @@ -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