changeset 23257:61ec2557eece stable

Fix order of legend labels with plotyy axes (bug #50497)
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Wed, 08 Mar 2017 23:30:05 +0100
parents 8a1ba13e9914
children d77f5721db51
files scripts/plot/appearance/legend.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/legend.m	Sun Oct 16 02:23:54 2016 -0500
+++ b/scripts/plot/appearance/legend.m	Wed Mar 08 23:30:05 2017 +0100
@@ -160,7 +160,7 @@
     if (isscalar (kids))
       kids = get (kids, "children")(:);
     else
-      kids = flipud (vertcat (get (kids, "children"){:}));
+      kids = vertcat (flipud (get (kids, "children")){:});
     endif
   endif
   nargs = numel (varargin);