changeset 33219:32002886fc7c stable

doc: Simplify programming notes for patch objects (bug #65421). * scripts/plot/draw/patch.m: Remove "cdata" from list of "useful patch properties". Remove item that is better described in the last item. Fix typo.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 15 Mar 2024 17:52:07 +0100
parents 1ba981407122
children 3af3c114f706 45b7805c2a67
files scripts/plot/draw/patch.m
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/patch.m	Sun Mar 17 22:44:25 2024 -0400
+++ b/scripts/plot/draw/patch.m	Fri Mar 15 17:52:07 2024 +0100
@@ -75,19 +75,14 @@
 ## @enumerate
 ## @item
 ## The full list of properties is documented at @ref{Patch Properties}.
-## Useful patch properties include: @qcode{"cdata"}, @qcode{"edgecolor"},
-## @qcode{"facecolor"}, @qcode{"faces"}, @qcode{"vertices"}, and
-## @qcode{"facevertexcdata"}.
-## @item
-## Properties specifying patch geometry (@qcode{"xdata"}, @qcode{"ydata"},
-## @qcode{"zdata"}, @qcode{"faces"}, @qcode{"vertices"}) should be specified
-## before other properties to avoid unexpected plot outputs or errors.
+## Useful patch properties include: @qcode{"edgecolor"}, @qcode{"facecolor"},
+## @qcode{"faces"}, @qcode{"vertices"}, and @qcode{"facevertexcdata"}.
 ## @item
 ## Unexpected geometry results can occur from mixing x-y-z and
 ## face-vertex forms of defining geometry.
 ## @item
 ## Unexpected patch color results can occur from using @qcode{"cdata"} color
-## definitons with face-vertex defined geometry or @qcode{"facecentercdata"}
+## definitons with face-vertex defined geometry or @qcode{"facevertexcdata"}
 ## color definitions with x-y-z defined geometry.
 ## @end enumerate
 ## @seealso{fill, get, set}