# HG changeset patch # User Ben Abbott # Date 1286655940 14400 # Node ID d4619eb6ef8e1e6df594eedf5168a003208fcf95 # Parent add5beb3b845279b7c9a86ab7d7f0dc2dc4daae1 __go_draw_axes__.m: Enable linetypes for gnuplot. diff -r add5beb3b845 -r d4619eb6ef8e scripts/ChangeLog --- a/scripts/ChangeLog Sat Oct 09 11:55:51 2010 -0400 +++ b/scripts/ChangeLog Sat Oct 09 16:25:40 2010 -0400 @@ -1,3 +1,7 @@ +2010-10-09 Ben Abbott + + * plot/__go_draw_axes__.m: Enable linetypes for gnuplot. + 2010-10-09 John W. Eaton * statistics/distributions/geornd.m, diff -r add5beb3b845 -r d4619eb6ef8e scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Sat Oct 09 11:55:51 2010 -0400 +++ b/scripts/plot/__go_draw_axes__.m Sat Oct 09 16:25:40 2010 -0400 @@ -1642,18 +1642,9 @@ lt = ""; endswitch - ## FIXME -- linetype is currently broken, since it disables the - ## gnuplot default dashed and solid linestyles with the only - ## benefit of being able to specify '--' and get a single sized - ## dashed line of identical dash pattern for all called this way. - ## All dash patterns are a subset of "with lines" and none of the - ## lt specifications will correctly propagate into the x11 terminal - ## or the print command. Therefore, it is currently disabled in - ## order to allow print (..., "-dashed") etc. to work correctly. - - ## if (! isempty (lt)) - ## fprintf (plot_stream, " linetype %s", lt); - ## endif + if (! isempty (lt)) + fprintf (plot_stream, " linetype %s", lt); + endif else lt = ""; @@ -1680,7 +1671,7 @@ else style {sidx} = "lines"; endif - + facesame = true; if (! isequal (pt, pt2) && isfield (obj, "markerfacecolor") && !strncmp (obj.markerfacecolor, "none", 4))