diff scripts/plot/scatter3.m @ 12320:d6417ee864c9

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 c792872f8942
children 5f0bb45e615c
line wrap: on
line diff
--- 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