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	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  <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	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