changeset 13693:cb52dd180d36

Merge in Fotios' change
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 12 Oct 2011 20:36:19 -0500
parents 9d7233ec8cbc (current diff) add91fa2691a (diff)
children 441af0aa125a
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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