Mercurial > hg > octave-nkf
comparison scripts/plot/caxis.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | 3c6e8aaa9555 |
children | b0084095098e |
comparison
equal
deleted
inserted
replaced
11586:12df7854fa7c | 11587:c792872f8942 |
---|---|
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} caxis (@var{limits}) | 20 ## @deftypefn {Function File} {} caxis (@var{limits}) |
21 ## @deftypefnx {Function File} {} caxis (@var{h}, @dots{}) | 21 ## @deftypefnx {Function File} {} caxis (@var{h}, @dots{}) |
22 ## Set color axis limits for plots. | 22 ## Set color axis limits for plots. |
23 ## | 23 ## |
24 ## The argument @var{limits} should be a 2-element vector specifying the | 24 ## The argument @var{limits} should be a 2-element vector specifying the |
25 ## lower and upper limits to assign to the first and last value in the | 25 ## lower and upper limits to assign to the first and last value in the |
26 ## colormap. Values outside this range are clamped to the first and last | 26 ## colormap. Values outside this range are clamped to the first and last |
27 ## colormap entries. | 27 ## colormap entries. |
28 ## | 28 ## |
29 ## If @var{limits} is 'auto', then automatic colormap scaling is applied, | 29 ## If @var{limits} is 'auto', then automatic colormap scaling is applied, |
30 ## whereas if @var{limits} is 'manual' the colormap scaling is set to manual. | 30 ## whereas if @var{limits} is 'manual' the colormap scaling is set to manual. |
31 ## | 31 ## |
32 ## Called without any arguments to current color axis limits are returned. | 32 ## Called without any arguments to current color axis limits are returned. |
83 if (nargin > 2) | 83 if (nargin > 2) |
84 __caxis__ (ca, varargin{:})' | 84 __caxis__ (ca, varargin{:})' |
85 endif | 85 endif |
86 | 86 |
87 endfunction | 87 endfunction |
88 | 88 |