changeset 9944:fea3d4868692

__go_draw_figure__.m: Add missing 'unset multiplot' to restore mouse actions.
author Ben Abbott <bpabbott@mac.com>
date Tue, 08 Dec 2009 18:40:40 -0500
parents 4c681ff57bc3
children b4661b498a7e
files scripts/ChangeLog scripts/plot/__go_draw_figure__.m
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-08  Petr Mikulik <mikulik@physics.muni.cz>
+
+	* plot/__go_draw_figure__.m: Add missing 'unset multiplot' to restore
+	hotkey and mouse functionality for 2D plots.
+
 2009-12-09  Rik <octave@nomad.inbox5.com>
 
 	* Makefile.am: Distribute DOCSTRINGS in tar.gz file
--- a/scripts/plot/__go_draw_figure__.m
+++ b/scripts/plot/__go_draw_figure__.m
@@ -95,6 +95,7 @@
 	      error ("__go_draw_figure__: unknown object class, %s", type);
 	  endswitch
 	endfor
+	fputs (plot_stream, "\nunset multiplot;\n");
       else
 	fputs (plot_stream, "\nreset; clear;\n");
 	fflush (plot_stream);