comparison scripts/plot/shading.m @ 7122:542379d37bf9

[project @ 2007-11-07 21:50:41 by jwe]
author jwe
date Wed, 07 Nov 2007 21:50:41 +0000
parents 0e63f1126f01
children aeeb646f6538
comparison
equal deleted inserted replaced
7121:c0d9ac299176 7122:542379d37bf9
14 ## along with Octave; see the file COPYING. If not, write to the Free 14 ## along with Octave; see the file COPYING. If not, write to the Free
15 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 15 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 ## 02110-1301, USA. 16 ## 02110-1301, USA.
17 17
18 ## -*- texinfo -*- 18 ## -*- texinfo -*-
19 ## @deftypefn {Function File} shading (@var{type}) 19 ## @deftypefn {Function File} {} shading (@var{type})
20 ## @deftypefnx {Function File} shading (@var{ax}, ...) 20 ## @deftypefnx {Function File} {} shading (@var{ax}, @dots{})
21 ## 21 ## Set the shading of surface or patch graphic objects. Valid arguments
22 ## Sets the shading of surface or patch graphic objects. Valid arguments for 22 ## for @var{type} are @code{"flat"}, @code{"interp"}, or
23 ## @var{type} are "flat", "interp", or "faceted". 23 ## @code{"faceted"}. If @var{ax} is given the shading is applied to
24 ## If @var{ax} is given the shading is applied to axis @var{ax} instead of the 24 ## axis @var{ax} instead of the current axis.
25 ## current axis.
26 ##
27 ## @example
28 ## shading ("interp")
29 ## @end example
30 ##
31 ## @end deftypefn 25 ## @end deftypefn
32 26
33 ## Author: Kai Habel <kai.habel@gmx.de> 27 ## Author: Kai Habel <kai.habel@gmx.de>
34 28
35 function shading (ax, mode) 29 function shading (ax, mode)