# HG changeset patch # User John W. Eaton # Date 1291937801 18000 # Node ID 703f51c2beb72c524bdd51ee9738f158d014a14b # Parent 492e7b587352fee1cb7adfb73fc5a1d1f88bab29 set grid linewidths from axis linewidth property diff -r 492e7b587352 -r 703f51c2beb7 scripts/ChangeLog --- a/scripts/ChangeLog Thu Dec 09 11:02:21 2010 -0800 +++ b/scripts/ChangeLog Thu Dec 09 18:36:41 2010 -0500 @@ -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 -r 492e7b587352 -r 703f51c2beb7 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Thu Dec 09 11:02:21 2010 -0800 +++ b/scripts/plot/__go_draw_axes__.m Thu Dec 09 18:36:41 2010 -0500 @@ -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