# HG changeset patch # User David Bateman # Date 1272417006 -7200 # Node ID 6a81e809a39259ff90e232e2d65ea8b4c3c50df0 # Parent 78466af1913cfb63935c32c34e15095246edb9ef Make errorbar objects markers be 'none' diff -r 78466af1913c -r 6a81e809a392 scripts/ChangeLog --- 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 * plot/bar.m: Document the use of the colormap for the color of diff -r 78466af1913c -r 6a81e809a392 scripts/plot/private/__errplot__.m --- 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