# HG changeset patch # User David Bateman # Date 1217191088 -7200 # Node ID f8514786c490ffc25988014dbe1165eea2a93c6d # Parent 065c28e1c3687d02425f1cbe39e32d32d9d9e33a Clarify help of the shading function diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2008-07-28 David Bateman + * plot/shading.m: Clarify help string. + * general/genvarname.m: Trivial documentation fix. 2008-07-28 John W. Eaton diff --git a/scripts/plot/shading.m b/scripts/plot/shading.m --- 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