Mercurial > hg > octave-avbm
changeset 11334:703f51c2beb7
set grid linewidths from axis linewidth property
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 09 Dec 2010 18:36:41 -0500 |
parents | 492e7b587352 |
children | db091f68798c |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-12-09 John W. Eaton <jwe@octave.org> + + * plot/__go_draw_axes__.m: Set major and grid linewidths from + axis linewidth property. + 2010-12-09 Rik <octave@nomad.inbox5.com> * plot/__print_parse_opts__.m: Convert print resolution from char to
--- 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