Mercurial > hg > octave-lyh
diff scripts/plot/shading.m @ 7978:f8514786c490
Clarify help of the shading function
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 27 Jul 2008 22:38:08 +0200 |
parents | 87b5a3fb5286 |
children | 4024fc815f8d |
line wrap: on
line diff
--- a/scripts/plot/shading.m +++ b/scripts/plot/shading.m @@ -20,9 +20,22 @@ ## @deftypefn {Function File} {} shading (@var{type}) ## @deftypefnx {Function File} {} shading (@var{ax}, @dots{}) ## Set the shading of surface or patch graphic objects. Valid arguments -## for @var{type} are @code{"flat"}, @code{"interp"}, or -## @code{"faceted"}. If @var{ax} is given the shading is applied to -## axis @var{ax} instead of the current axis. +## for @var{type} are +## +## @table @code +## @item "flat" +## Single colored patches with invisible edges. +## +## @item "faceted" +## Single colored patches with visible edges. +## +## @item "interp" +## Color between patch vertices are interpolated and the patch edges are +## invisible. +## @end table +## +## If @var{ax} is given the shading is applied to axis @var{ax} instead +## of the current axis. ## @end deftypefn ## Author: Kai Habel <kai.habel@gmx.de>