changeset 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 9f34f7636fe0
children c777f3ce02d8
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Nov 24 12:27:03 2008 -0500
+++ b/scripts/ChangeLog	Mon Nov 24 12:57:57 2008 -0500
@@ -2,6 +2,10 @@
 
 	* plot/legend.m: Correct ording of legend labels.
 
+2008-11-24  Ben Abbott <bpabbott@mac.com>
+
+	* plot/__go_draw_axes__.m: Correct order for rendering children.
+
 2008-11-21  Radek Salac  <salac.r@gmail.com>
 
 	* sparse/cgs.m, sparse/treelayout.m: New functions.
--- 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;