changeset 22320:c563396c5bf1

annotation.m: Fix %!demo #3 to work with dump_plots.m annotation.m: Don't try and place headstyle in double quotes.
author Rik <rik@octave.org>
date Tue, 16 Aug 2016 14:44:31 -0700
parents 1ddb53b6ad30
children 3d18c22e6e3d
files scripts/plot/appearance/annotation.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/annotation.m	Tue Aug 16 23:28:09 2016 +0200
+++ b/scripts/plot/appearance/annotation.m	Tue Aug 16 14:44:31 2016 -0700
@@ -1356,12 +1356,12 @@
 %! jj = 1;
 %! for ii = 1:nrows
 %!   annotation ("textarrow", [0.3 0.5], [y y], ...
-%!               "string", ['"' styles{jj} '"'], "fontsize", 15, ...
+%!               "string", styles{jj}, "fontsize", 15, ...
 %!               "headstyle", styles{jj}, "textcolor", "b");
 %!   jj = jj + 1;
 %!   if (jj <= ns)
 %!     annotation ("textarrow", [0.7 0.5], [y y], ...
-%!                 "string", ['"' styles{jj} '"'], "fontsize", 15, ...
+%!                 "string", styles{jj}, "fontsize", 15, ...
 %!                 "headstyle", styles{jj}, "textcolor", "b");
 %!   jj = jj + 1;
 %!   endif