legend.m: Trivial fix to allow legend handle to be returned.
author |
Ben Abbott <bpabbott@mac.com> |
date |
Fri, 22 Oct 2010 08:34:54 +0800 |
parents |
c5640104bce1 |
children |
047b0e877a14 |
files |
scripts/ChangeLog scripts/plot/legend.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-22 Ben Abbott <bpabbott@mac.com>
+
+ * plot/legend.m: Trivial fix to allow legend handle to be returned.
+
2010-10-21 John W. Eaton <jwe@octave.org>
* statistics/base/quantile.m: Fix typo in previous change.
--- a/scripts/plot/legend.m
+++ b/scripts/plot/legend.m
@@ -726,7 +726,7 @@
endif
if (nargout > 0)
- hlegend2 = hlegend2;
+ hlegend2 = hlegend;
hobjects2 = hobjects;
hplot2 = hplots;
text_strings2 = text_strings;