# HG changeset patch # User Ben Abbott # Date 1298596958 18000 # Node ID 070214996fba4cd0bfea1e50990ce3c30b52da88 # Parent 009068efc66dd3d93835fa136542b4cba49d5e16 subplot.m: Document using INDEX as a vector. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2011-02-24 Ben Abbott + + * plot/subplot.m: Document using INDEX as a vector. + 2011-02-24 Robert T. Short * polynomial/polyval.m: Properly evaluate constant polynomials. diff --git a/scripts/plot/subplot.m b/scripts/plot/subplot.m --- a/scripts/plot/subplot.m +++ b/scripts/plot/subplot.m @@ -52,8 +52,15 @@ ## @end group ## @end example ## +## @var{index} may be a vector. In which case, the new axis will enclose +## the grid locations specified. The first demo illustrates an example. +## +## @example +## @code{demo ("subplot", 1)} +## @end example +## ## @end ifnottex -## @seealso{plot} +## @seealso{axes, plot} ## @end deftypefn ## Author: Vinayak Dutt