# HG changeset patch # User jwe # Date 1174659449 0 # Node ID f1f2e0de340abd5024f89adacf4b0ad4b1c3cd34 # Parent 71888a0ab04073715db8c696b6b7fe38f3d820a3 [project @ 2007-03-23 14:17:29 by jwe] diff -r 71888a0ab040 -r f1f2e0de340a scripts/ChangeLog --- a/scripts/ChangeLog Fri Mar 23 14:17:02 2007 +0000 +++ b/scripts/ChangeLog Fri Mar 23 14:17:29 2007 +0000 @@ -1,5 +1,7 @@ 2007-03-23 John W. Eaton + * plot/__go_draw_axes__.m: Use %g for label coordinates, not %d. + * plot/contour.m: Don't call drawnow. 2007-03-22 John W. Eaton diff -r 71888a0ab040 -r f1f2e0de340a scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Fri Mar 23 14:17:02 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Fri Mar 23 14:17:29 2007 +0000 @@ -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