Mercurial > hg > octave-nkf
diff scripts/plot/__go_draw_axes__.m @ 10157:cf17f22f1fd4
trivial fix to durface and lines for empty markers
author | David Bateman <dbateman@free.fr> |
---|---|
date | Thu, 21 Jan 2010 00:21:44 +0100 |
parents | cf6a01e0e93f |
children | 2884758e265b |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -1747,10 +1747,11 @@ endif if (isfield (obj, "markeredgecolor") && !strncmp (obj.markeredgecolor, "none", 4)) - if (facesame && (strncmp (obj.markeredgecolor, "auto", 4) - || ! isnumeric (obj.markeredgecolor) - || (isnumeric (obj.markeredgecolor) - && isequal (color, obj.markeredgecolor)))) + if (facesame && !isempty (pt) + && (strncmp (obj.markeredgecolor, "auto", 4) + || ! isnumeric (obj.markeredgecolor) + || (isnumeric (obj.markeredgecolor) + && isequal (color, obj.markeredgecolor)))) if (sidx == 1 && ((length (style {sidx}) == 5 && strncmp (style {sidx}, "lines", 5)) || isempty (style {sidx}))) if (! isempty (pt))