changeset 11000:98a31b352aab

__plt__.m: Trivial fix for recent legend changeset.
author Ben Abbott <bpabbott@mac.com>
date Sun, 19 Sep 2010 20:26:18 -0400
parents 9f45b76c16e3
children 2ab8cc6dcced
files scripts/ChangeLog scripts/plot/private/__plt__.m
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,6 +1,7 @@
 2010-09-19  Ben Abbott <bpabbott@mac.com>
 
-	* /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.
--- a/scripts/plot/private/__plt__.m
+++ b/scripts/plot/private/__plt__.m
@@ -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