# HG changeset patch # User John W. Eaton # Date 1291937801 18000 # Node ID 703f51c2beb72c524bdd51ee9738f158d014a14b # Parent 492e7b587352fee1cb7adfb73fc5a1d1f88bab29 set grid linewidths from axis linewidth property diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-12-09 John W. Eaton + + * plot/__go_draw_axes__.m: Set major and grid linewidths from + axis linewidth property. + 2010-12-09 Rik * plot/__print_parse_opts__.m: Convert print resolution from char to diff --git a/scripts/plot/__go_draw_axes__.m b/scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -324,6 +324,10 @@ ## use "back" instead. fputs (plot_stream, "set border back;\n"); endif + + fprintf (plot_stream, "set grid linewidth %f, linewidth %f;\n", + axis_obj.linewidth, axis_obj.linewidth); + if (! have_grid) fputs (plot_stream, "unset grid;\n"); endif