comparison scripts/plot/legend.m @ 11134:7c045d801702

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 a44f979a35ce
children fe3c3dfc07eb
comparison
equal deleted inserted replaced
11133:c5640104bce1 11134:7c045d801702
724 end_unwind_protect 724 end_unwind_protect
725 endif 725 endif
726 endif 726 endif
727 727
728 if (nargout > 0) 728 if (nargout > 0)
729 hlegend2 = hlegend2; 729 hlegend2 = hlegend;
730 hobjects2 = hobjects; 730 hobjects2 = hobjects;
731 hplot2 = hplots; 731 hplot2 = hplots;
732 text_strings2 = text_strings; 732 text_strings2 = text_strings;
733 endif 733 endif
734 734