# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1318469779 18000 # Node ID cb52dd180d36eff5ca1dd28c017fd19275cb784a # Parent 9d7233ec8cbc162bac4b0ec84e4e5fb39a1a5e7b# Parent add91fa2691a34769ebdb6cf7ce62871ed811ed0 Merge in Fotios' change diff -r 9d7233ec8cbc -r cb52dd180d36 scripts/plot/private/__go_draw_axes__.m --- a/scripts/plot/private/__go_draw_axes__.m Thu Oct 13 00:47:43 2011 +0300 +++ b/scripts/plot/private/__go_draw_axes__.m Wed Oct 12 20:36:19 2011 -0500 @@ -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