changeset 20553:63d14a570039 stable

annotation.m: document the "string" property of textbox and textarrow annotations (bug #4603.6) * annotation.m: add a doc string about "string" property of textbox and textarrow annotations
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sat, 26 Sep 2015 11:42:19 +0200
parents 0fdba3fdf40e
children 7395fdd45d5f
files scripts/plot/appearance/annotation.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/annotation.m	Tue Sep 22 23:12:22 2015 +0200
+++ b/scripts/plot/appearance/annotation.m	Sat Sep 26 11:42:19 2015 +0200
@@ -100,6 +100,7 @@
 ## @item @qcode{"textarrow"}
 ## Construct an arrow with a text label at the opposite end from the arrowhead.
 ##
+## Use the "string" property to change the text string.
 ## The line and the arrowhead can be customized as for arrow annotations, and
 ## the text can be customized using the same properties as @code{text} graphics
 ## objects.  Note, however, that some text property names are prefixed with
@@ -112,6 +113,7 @@
 ## Construct a box with text inside.  @var{pos} specifies the
 ## @qcode{"position"} property of the annotation.
 ##
+## Use the "string" property to change the text string.
 ## You may use @qcode{"backgroundcolor"}, @qcode{"edgecolor"},
 ## @qcode{"linestyle"}, and @qcode{"linewidth"} properties to customize
 ## the box background color and edge appearance.  A limited set of @code{text}