changeset 22821:825a85a5881d stable

legend.m: backport cset 7184b4516a68 (bug #49675). * legend.m: Fix failing demo.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 23 Nov 2016 08:47:19 +0100
parents 9cb15c322464
children 4e9241cf59db
files scripts/plot/appearance/legend.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/legend.m	Wed Nov 23 10:38:54 2016 -0800
+++ b/scripts/plot/appearance/legend.m	Wed Nov 23 08:47:19 2016 +0100
@@ -1454,7 +1454,7 @@
 %! y2 = rand (size (x));
 %! [ax, h1, h2] = plotyy (x, y1, x, y2);
 %! title ("plotyy legend test #1: Blue and Orange labels");
-%! legend ([h1, h2], {"Blue", "Orange}, "location", "south");
+%! legend ([h1, h2], {"Blue", "Orange"}, "location", "south");
 
 %!demo
 %! clf;