changeset 7296:c06476bb301d

[project @ 2007-12-11 21:21:32 by jwe]
author jwe
date Tue, 11 Dec 2007 21:21:33 +0000
parents e00828759d1b
children ec1f6f8baf94
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m src/ChangeLog src/graphics.cc
diffstat 4 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Dec 11 19:23:34 2007 +0000
+++ b/scripts/ChangeLog	Tue Dec 11 21:21:33 2007 +0000
@@ -1,5 +1,7 @@
 2007-12-11  John W. Eaton  <jwe@octave.org>
 
+	* plot/__go_draw_axes__.m: Include "front" in "set label" options.
+
 	* plot/surface.m: Don't set facecolor property in call to
 	__go_surface__.
 
--- a/scripts/plot/__go_draw_axes__.m	Tue Dec 11 19:23:34 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Tue Dec 11 21:21:33 2007 +0000
@@ -987,14 +987,14 @@
 
 	  if (nd == 3)
 	    fprintf (plot_stream,
-		     "set label \"%s\" at %s %.15g,%.15g,%.15g %s %s rotate by %f %s;\n",
+		     "set label \"%s\" at %s %.15g,%.15g,%.15g %s rotate by %f %s front %s;\n",
 		     undo_string_escapes (label), units, lpos(1),
-		     lpos(2), lpos(3), fontspec, halign, angle, colorspec);
+		     lpos(2), lpos(3), halign, angle, fontspec, colorspec);
 	  else
  	    fprintf (plot_stream,
- 		     "set label \"%s\" at %s %.15g,%.15g %s %s rotate by %f %s;\n",
+ 		     "set label \"%s\" at %s %.15g,%.15g %s rotate by %f %s front %s;\n",
  		     undo_string_escapes (label), units,
- 		     lpos(1), lpos(2), fontspec, halign, angle, colorspec);
+ 		     lpos(1), lpos(2), halign, angle, fontspec, colorspec);
 	  endif
 
 	otherwise
--- a/src/ChangeLog	Tue Dec 11 19:23:34 2007 +0000
+++ b/src/ChangeLog	Tue Dec 11 21:21:33 2007 +0000
@@ -1,5 +1,8 @@
 2007-12-11  John W. Eaton  <jwe@octave.org>
 
+	* graphics.cc (make_graphics_object):
+	If successful, call __request_drawnow__.
+
 	* input.cc (Vgud_mode): New static variable.
 	(F__gud_mode__): New function.
 	(get_user_input): If debug and Vgud_mode, print location info in
--- a/src/graphics.cc	Tue Dec 11 19:23:34 2007 +0000
+++ b/src/graphics.cc	Tue Dec 11 21:21:33 2007 +0000
@@ -3203,6 +3203,9 @@
 	      xset (h, args.splice (0, 1));
 
 	      retval = h.value ();
+
+	      if (! error_state)
+		feval ("__request_drawnow__");
 	    }
 	  else
 	    error ("__go%s__: unable to create graphics handle",