# HG changeset patch # User jwe # Date 1197408353 0 # Node ID ec1f6f8baf9479ec43f8c97fb783d6b5b12699e6 # Parent c06476bb301d61b015273e5d6e3c58fa7c332d0c [project @ 2007-12-11 21:25:52 by jwe] diff -r c06476bb301d -r ec1f6f8baf94 scripts/ChangeLog --- a/scripts/ChangeLog Tue Dec 11 21:21:33 2007 +0000 +++ b/scripts/ChangeLog Tue Dec 11 21:25:53 2007 +0000 @@ -1,5 +1,8 @@ 2007-12-11 John W. Eaton + * plot/__go_draw_axes__.m: Always use "set grid front". Send a + subsequent "unset grid" if there is no grid. + * plot/__go_draw_axes__.m: Include "front" in "set label" options. * plot/surface.m: Don't set facecolor property in call to diff -r c06476bb301d -r ec1f6f8baf94 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Tue Dec 11 21:21:33 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Tue Dec 11 21:25:53 2007 +0000 @@ -241,8 +241,11 @@ fputs (plot_stream, "set grid nomztics;\n"); endif - if (have_grid) - fputs (plot_stream, "set grid front;\n"); + ## Unless we force the grid to the front, tics may appear below + ## plotted objects. + fputs (plot_stream, "set grid front;\n"); + if (! have_grid) + fputs (plot_stream, "unset grid;\n"); endif do_tics (axis_obj, plot_stream, ymirror, mono);