changeset 10584:6a81e809a392

Make errorbar objects markers be 'none'
author David Bateman <dbateman@free.fr>
date Wed, 28 Apr 2010 03:10:06 +0200
parents 78466af1913c
children 9f55d3ce490a
files scripts/ChangeLog scripts/plot/private/__errplot__.m
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Apr 27 17:37:12 2010 -0700
+++ b/scripts/ChangeLog	Wed Apr 28 03:10:06 2010 +0200
@@ -16,6 +16,8 @@
 	to __errplot__ with return a vector of handles.
 	* plot/private/__errplot__.m: Allow for default linestyles.
 
+	* plot/private/__errplot__.m: Set the errorbar marker to "none".
+
 2010-04-26  David Bateman  <dbateman@free.fr>
 
 	* plot/bar.m: Document the use of the colormap for the color of
--- a/scripts/plot/private/__errplot__.m	Tue Apr 27 17:37:12 2010 -0700
+++ b/scripts/plot/private/__errplot__.m	Wed Apr 28 03:10:06 2010 +0200
@@ -64,20 +64,21 @@
     if (isempty (fmt.marker) && isempty (fmt.linestyle))
       [linestyle, marker] = __next_line_style__ ();
       if (isempty (fmt.color))
-        hl = __line__ (hg, "linestyle", linestyle, "marker", marker,
+        hl = __line__ (hg, "linestyle", linestyle, "marker", "none",
                        "color", __next_line_color__ ());
       else
-        hl = __line__ (hg, "linestyle", linestyle, "marker", marker,
+        hl = __line__ (hg, "linestyle", linestyle, "marker", "none",
                        "color", fmt.color);
       endif
     else
       if (isempty (fmt.color))
-        hl = __line__ (hg, "linestyle", fmt.linestyle, "marker", fmt.marker,
+        hl = __line__ (hg, "linestyle", fmt.linestyle, "marker", "none",
                        "color", __next_line_color__ ());
       else
-        hl = __line__ (hg, "linestyle", fmt.linestyle, "marker", fmt.marker,
+        hl = __line__ (hg, "linestyle", fmt.linestyle, "marker", "none",
                        "color", fmt.color);
       endif
+      marker = fmt.marker;
     endif
 
     ## FIXME -- note the code below adds the errorbar data directly as
@@ -171,7 +172,7 @@
               "color", get (hl, "color"),
               "linewidth", get (hl, "linewidth"),
               "linestyle", get (hl, "linestyle"), 
-              "marker", get (hl, "marker"), "parent", hg);
+              "marker", marker, "parent", hg);
   endfor
 
 endfunction