diff scripts/plot/__go_draw_axes__.m @ 11286:f0478684bc2f

__go_draw_axes__.m: Fix plot titles so they are visible for gnuplot 4.4.x (31711).
author Ben Abbott <bpabbott@mac.com>
date Sun, 21 Nov 2010 19:37:44 -0500
parents da314c58f0b9
children c18526be2340
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m	Sun Nov 21 13:14:25 2010 -0500
+++ b/scripts/plot/__go_draw_axes__.m	Sun Nov 21 19:37:44 2010 -0500
@@ -147,15 +147,9 @@
       else
         [tt, f, s] = __maybe_munge_text__ (enhanced, t, "string");
         fontspec = create_fontspec (f, s, gnuplot_term);
-        fprintf (plot_stream, "set title \"%s\" %s %s",
+        fprintf (plot_stream, "set title \"%s\" %s %s;\n",
                  undo_string_escapes (tt), fontspec,
                  __do_enhanced_option__ (enhanced, t));
-        if (nd == 3
-            && __gnuplot_has_feature__ ("screen_coordinates_for_{lrtb}margin"))
-          fprintf (plot_stream, " offset screen 0, screen %.3f;\n", pos(4)/5);
-        else
-          fprintf (plot_stream, ";\n");
-        endif
       endif
     endif