Mercurial > hg > octave-max
changeset 13691:add91fa2691a
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).
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 12 Oct 2011 20:06:12 -0400 |
parents | f0daeb0eab45 |
children | cb52dd180d36 |
files | scripts/plot/private/__go_draw_axes__.m |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__go_draw_axes__.m +++ b/scripts/plot/private/__go_draw_axes__.m @@ -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