# HG changeset patch # User David Bateman # Date 1264029401 -3600 # Node ID f481496013a265952008f21162c150ce1bb51949 # Parent d0ce5e973937be7f52e4100909f2794031630fc3 Set default line style in __contour__ diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-01-20 David Bateman + + * plot/private/__contour__.m: Set default linestyle if pltopt returns + an empty style. + 2010-01-20 John W. Eaton * time/datetick.m: Make form arg optional. @@ -8,7 +13,6 @@ * plot/__go_draw_axes__.m: Correct an error in drawing of patch objects where unrequested markers were drawn. - * plot/__go_draw_figure__.m: Also plot white foreground and background colors. * plot/plotyy.m: Set axes colors to "none". diff --git a/scripts/plot/private/__contour__.m b/scripts/plot/private/__contour__.m --- a/scripts/plot/private/__contour__.m +++ b/scripts/plot/private/__contour__.m @@ -36,6 +36,9 @@ if (isempty (linespec.color)) linespec.color = "auto"; endif + if (isempty (linespec.linestyle)) + linespec.linestyle = "-"; + endif if (valid) have_line_spec = true; varargin(i) = [];