# HG changeset patch # User Ben Abbott # Date 1318464372 14400 # Node ID add91fa2691a34769ebdb6cf7ce62871ed811ed0 # Parent f0daeb0eab45c8366d859780a14a6ae115317f65 Force gnuplot axes to use a solid line. * scripts/plot/private/__go_draw_axes__.m: When axes location is "zero" ensure the axes is drawn as solid (regression from changeset 13322:16a706965ee0). diff -r f0daeb0eab45 -r add91fa2691a scripts/plot/private/__go_draw_axes__.m --- a/scripts/plot/private/__go_draw_axes__.m Wed Oct 12 14:23:08 2011 -0700 +++ b/scripts/plot/private/__go_draw_axes__.m Wed Oct 12 20:06:12 2011 -0400 @@ -1468,6 +1468,7 @@ fprintf (plot_stream, "unset x2tics; set xtics %s nomirror\n", axis_obj.tickdir); fputs (plot_stream, "set border 8;\n"); + fputs (plot_stream, "set xzeroaxis lt -1 lw 1;\n"); endif elseif (strcmpi (axis_obj.yaxislocation, "left")) fprintf (plot_stream, "unset y2tics; set ytics %s nomirror\n", @@ -1484,6 +1485,7 @@ fprintf (plot_stream, "unset x2tics; set xtics %s nomirror\n", axis_obj.tickdir); fputs (plot_stream, "set border 2;\n"); + fputs (plot_stream, "set xzeroaxis lt -1 lw 1;\n"); endif else # yaxislocation == zero fprintf (plot_stream, "unset y2tics; set ytics %s nomirror\n", @@ -1502,7 +1504,9 @@ fprintf (plot_stream, "unset x2tics; set xtics %s nomirror\n", axis_obj.tickdir); fputs (plot_stream, "unset border;\n"); + fputs (plot_stream, "set xzeroaxis lt -1 lw 1;\n"); endif + fputs (plot_stream, "set yzeroaxis lt -1 lw 1;\n"); endif endif endif