# HG changeset patch # User Falk Tannhäuser # Date 1376703409 25200 # Node ID 53f1d5bb58bcdbce7424afcf893ed55c0866e138 # Parent aa09b746fa16b6bdb4c9f0f9316be6dc2a047bc7 __plt__.m: Fix legend when plotting vector against matrix (bug #39542) * doc/interpreter/contributors.in: Add Falk Tannhäuser to list of contributors. * scripts/plot/private/__plt__.m: Use for loop index i to index list of legend strings. diff -r aa09b746fa16 -r 53f1d5bb58bc doc/interpreter/contributors.in --- a/doc/interpreter/contributors.in Fri Aug 16 15:43:03 2013 -0400 +++ b/doc/interpreter/contributors.in Fri Aug 16 18:36:49 2013 -0700 @@ -273,6 +273,7 @@ Ivan Sutoris John Swensen Daisuke Takago +Falk Tannhäuser Ariel Tankus Matthew Tenny Georg Thimm diff -r aa09b746fa16 -r 53f1d5bb58bc scripts/plot/private/__plt__.m --- a/scripts/plot/private/__plt__.m Fri Aug 16 15:43:03 2013 -0400 +++ b/scripts/plot/private/__plt__.m Fri Aug 16 18:36:49 2013 -0700 @@ -147,7 +147,7 @@ endif for i = 1 : n - key = options.key; + key = options(i).key; if (! isempty (key)) hlgnd = [hlgnd(:); h(i)]; tlgnd = {tlgnd{:}, key};