changeset 12357:8fab4aca41fd release-3-4-x

scatter.m: pass h to set, not ax
author John W. Eaton <jwe@octave.org>
date Tue, 01 Feb 2011 04:34:28 -0500
parents a3c6d0480c7c
children a076a3d89fce
files scripts/ChangeLog scripts/plot/scatter3.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-01  John W. Eaton  <jwe@octave.org>
+
+	* plot/scatter3.m: Pass h to set, not ax.
+
 2011-01-31  John W. Eaton  <jwe@octave.org>
 
 	* plot/private/__axis_label__.m: Don't call __fltk_redraw__.
--- a/scripts/plot/scatter3.m
+++ b/scripts/plot/scatter3.m
@@ -71,7 +71,7 @@
   endif
 
   if (! ishold ())
-    set (ax, "view", [-37.5, 30],
+    set (h, "view", [-37.5, 30],
          "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif