changeset 17456:9bc940e63aa2

Commit after moving functionality
author Andrej Lojdl <andrej.lojdl@gmail.com>
date Tue, 17 Sep 2013 20:41:15 +0200
parents fd3e999305ea (current diff) 366a51191fd7 (diff)
children 1647020d09ec
files
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__stem__.m
+++ b/scripts/plot/private/__stem__.m
@@ -152,7 +152,8 @@
     endfor
 
     if (! strcmp (hold_state, "add") && have_z)
-      set (hax, "view", [-37.5 30]);  # 3D view
+      set (hax, "view", [-37.5 30],
+                "xgrid", "on", "ygrid", "on", "zgrid", "on");
     endif
     set (hax, "nextplot", hold_state);
 
@@ -166,10 +167,12 @@
 
 function [x, y, z, dofill, lc, ls, mc, ms, newargs] = check_stem_arg (have_z, varargin)
 
-  ## FIXME -- there seems to be a lot of duplicated code in this
-  ## function.  It seems like it should be possible to simplify things
-  ## by combining some of the nearly identical code sections into
-  ## additional subfunctions.
+  ## FIXME: There seems to be a lot of duplicated code in this function.
+  ##        It seems like it should be possible to simplify things by
+  ##        combining some of the nearly identical code sections into
+  ##        additional subfunctions.
+  ## FIXME: The code is so convoluted that certain options, such as "filled",
+  ##        are not being processed correctly.
 
   if (have_z)
     caller = "stem3";