# HG changeset patch # User Ben Abbott # Date 1284942378 14400 # Node ID 98a31b352aab7dd796bb821e20daef1d1e3e6c15 # Parent 9f45b76c16e3e457cf42c79b63b36f6a745eb98b __plt__.m: Trivial fix for recent legend changeset. diff -r 9f45b76c16e3 -r 98a31b352aab scripts/ChangeLog --- a/scripts/ChangeLog Sun Sep 19 18:50:30 2010 -0400 +++ b/scripts/ChangeLog Sun Sep 19 20:26:18 2010 -0400 @@ -1,6 +1,7 @@ 2010-09-19 Ben Abbott - * /plot/legend.m: Treat line, patch, and surface objects differetly. + * plot/private/__plt__.m: Trivial fix for recent legend changeset. + * plot/legend.m: Treat line, patch, and surface objects differetly. * plot/__go_draw_axes__.m: Remove left over debug code. * miscellaneous/mkoctfile.m: Change help text to be consistent with the shell version. diff -r 9f45b76c16e3 -r 98a31b352aab scripts/plot/private/__plt__.m --- a/scripts/plot/private/__plt__.m Sun Sep 19 18:50:30 2010 -0400 +++ b/scripts/plot/private/__plt__.m Sun Sep 19 20:26:18 2010 -0400 @@ -134,7 +134,7 @@ for i = 1 : n key = options.key; if (! isempty (key)) - hlgnd = [h(i), tmp(idx)]; + hlgnd = [h(i), h(i)]; tlgnd = {tlgnd{:}, key}; endif endfor