changeset 8238:6ef647359f07

__stem__.m: Respect new ordering of children when setting baseline.
author Ben Abbott <bpabbott@mac.com>
date Mon, 20 Oct 2008 10:23:31 -0400
parents 52f2fba4f3f8
children 041bb0c64f07
files scripts/ChangeLog scripts/plot/__stem__.m
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Oct 20 13:22:17 2008 +0100
+++ b/scripts/ChangeLog	Mon Oct 20 10:23:31 2008 -0400
@@ -1,3 +1,8 @@
+2008-10-20  Ben Abbott  <bpabbott@mac.com>
+
+	* plot/__stem__.m: Respect new ordering of children when setting
+	baseline.
+
 2008-10-20  David Bateman  <dbateman@free.fr>
 
 	* plot/plotyy.m: Test that an axes handle actually is one before
@@ -19,7 +24,7 @@
 
 	* testfun/rundemos.m: New function.
 
-2008-10-16  Ben Abbott <bpabbott@mac.com>
+2008-10-16  Ben Abbott  <bpabbott@mac.com>
 
 	* plot/contourf.m: Correct order of patch object handles.
 
@@ -99,7 +104,7 @@
 	colorbar. Don't break in search of overlapping axes to delete. Set
 	both the position and the outerposition.
 	
-2008-10-09  Ben Abbott <bpabbott@mac.com>
+2008-10-09  Ben Abbott  <bpabbott@mac.com>
 
 	* plot/__axis_label__.m: Inherit font properties from axes.
 
--- a/scripts/plot/__stem__.m	Mon Oct 20 13:22:17 2008 +0100
+++ b/scripts/plot/__stem__.m	Mon Oct 20 10:23:31 2008 -0400
@@ -497,7 +497,7 @@
   yt = get(h, "ydata")(:)';
   ny = length (yt);
   yt = [b0 * ones(1, ny); yt; NaN(1, ny)](:);
-  set (kids(1), "ydata", yt);
+  set (kids(end), "ydata", yt);
 endfunction
 
 function update_props (h, d)