diff scripts/plot/__go_draw_axes__.m @ 6436:f1f2e0de340a

[project @ 2007-03-23 14:17:29 by jwe]
author jwe
date Fri, 23 Mar 2007 14:17:29 +0000
parents ff87ad14403f
children 4067a8caff18
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m
+++ b/scripts/plot/__go_draw_axes__.m
@@ -570,11 +570,11 @@
 	  label = obj.string;
 	  halign = obj.horizontalalignment;
 	  if (nd == 3)
-	    fprintf (plot_stream, "set label \"%s\" at %d,%d,%d %s;\n",
+	    fprintf (plot_stream, "set label \"%s\" at %g,%g,%g %s;\n",
 		     undo_string_escapes (label),
 		     lpos(1), lpos(2), lpos(3), halign);
 	  else
-	    fprintf (plot_stream, "set label \"%s\" at %d,%d %s;\n",
+	    fprintf (plot_stream, "set label \"%s\" at %g,%g %s;\n",
 		     undo_string_escapes (label),
 		     lpos(1), lpos(2), halign);
 	  endif