Mercurial > hg > octave-nkf
diff scripts/plot/pbaspect.m @ 11113:a8ac114ec9ab
Stylefixes, replace end by endif.
author | Thorsten Meyer <thorsten.meyier@gmx.de> |
---|---|
date | Mon, 18 Oct 2010 20:40:12 +0200 |
parents | 2c356a35d7f5 |
children | a44f979a35ce |
line wrap: on
line diff
--- a/scripts/plot/pbaspect.m +++ b/scripts/plot/pbaspect.m @@ -57,7 +57,7 @@ return else error ("pbaspect: only one output is allowed.") - end + endif case {"manual"} set (hax, "plotboxaspectratiomode", "manual"); case {"auto"} @@ -74,13 +74,13 @@ endif elseif (nargout == 0) print_usage (); - end + endif if (nargout == 1) varargout{1} = get (hax, "plotboxaspectratio"); elseif (nargout > 1) error ("pbaspect: only one output is allowed.") - end + endif endfunction