Mercurial > hg > octave-lojdl
changeset 14246:8b220af26cfb
doc: Update docstring for colormap()
* colormap.m: Update docstring to mention zero argument form.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 22 Jan 2012 07:43:20 -0800 |
parents | 4506eade9f04 |
children | c4fa5e0b6193 |
files | scripts/image/colormap.m |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/image/colormap.m +++ b/scripts/image/colormap.m @@ -17,8 +17,9 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {} colormap (@var{map}) -## @deftypefnx {Function File} {} colormap ("default") +## @deftypefn {Function File} {@var{cmap} =} colormap () +## @deftypefnx {Function File} {@var{cmap} =} colormap (@var{map}) +## @deftypefnx {Function File} {@var{cmap} =} colormap ("default") ## Set the current colormap. ## ## @code{colormap (@var{map})} sets the current colormap to @var{map}. The