changeset 27088:15d3f8857326 stable

doc: Specify "position" property for text objects is a three-element vector(bug #56303). * genpropdoc.m: Assign valid type to be valid_3elvec ("three-element vector"), not valid_4elvec.
author Rik <rik@octave.org>
date Fri, 10 May 2019 14:32:21 -0700
parents 47b81207cb32
children 4ae89360ca16
files doc/interpreter/genpropdoc.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/genpropdoc.m	Thu May 09 10:47:17 2019 -0700
+++ b/doc/interpreter/genpropdoc.m	Fri May 10 14:32:21 2019 -0700
@@ -1112,10 +1112,10 @@
         s.valid = "scalar";
 
       case "position"
-        s.doc = "Vector @code{[X0 Y0 Z0]} where X0, Y0 and Z0 indicate the \
+        s.doc = "Vector @code{[X0 Y0 Z0]} where X0, Y0, and Z0 indicate the \
 position of the text anchor as defined by @code{verticalalignment} and \
 @code{horizontalalignment}.";
-        s.valid = valid_4elvec;
+        s.valid = valid_3elvec;
 
       case "rotation"
         s.doc = "The angle of rotation for the displayed text, \