diff scripts/plot/__go_draw_axes__.m @ 8344:b5f10b123440

__go_draw_axes__.m: Correct order for rendering children.
author Ben Abbott <bpabbott@mac.com>
date Mon, 24 Nov 2008 12:57:57 -0500
parents f32a91d99156
children 534fd216278c
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m	Mon Nov 24 12:27:03 2008 -0500
+++ b/scripts/plot/__go_draw_axes__.m	Mon Nov 24 12:57:57 2008 -0500
@@ -298,8 +298,8 @@
 
     while (! isempty (kids))
 
-      obj = get (kids(1));
-      kids = kids(2:end);
+      obj = get (kids(end));
+      kids = kids(1:(end-1));
 
       if (strcmpi (obj.visible, "off"))
 	continue;