diff scripts/plot/__go_draw_axes__.m @ 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 c18526be2340
children 00b0aa8d539e
line wrap: on
line diff
--- 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