changeset 9161:406ed43c0233

gnuplot_drawnow.m: For figure size/position treat 'wxt' as 'x11'.
author Ben Abbott <bpabbott@mac.com>
date Thu, 30 Apr 2009 18:19:34 -0400
parents 11e0f0e8ff00
children ec159e991ee6
files scripts/ChangeLog scripts/plot/gnuplot_drawnow.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Apr 30 20:52:07 2009 +0200
+++ b/scripts/ChangeLog	Thu Apr 30 18:19:34 2009 -0400
@@ -1,3 +1,7 @@
+2009-04-30  Ben Abbott <bpabbott@mac.com>
+
+	* plot/gnuplot_drawnow.m: For figure position, treat 'wxt' as 'x11'.
+
 2009-04-30  Jaroslav Hajek <highegg@gmail.com>
 
 	* statistics/base/range.m: Fix behavior when dim is specified.
--- a/scripts/plot/gnuplot_drawnow.m	Thu Apr 30 20:52:07 2009 +0200
+++ b/scripts/plot/gnuplot_drawnow.m	Thu Apr 30 18:19:34 2009 -0400
@@ -187,10 +187,11 @@
         if (all (gnuplot_size > 0))
           ## Set terminal size.
           terminals_with_size = {"emf", "gif", "jpeg", "latex", "pbm", ...
-                                 "pdf", "png", "postscript", "svg", "wxt", ...
+                                 "pdf", "png", "postscript", "svg", ...
                                  "epslatex", "pstex", "pslatex"};
           if (__gnuplot_has_feature__ ("x11_figure_position"))
             terminals_with_size{end+1} = "x11";
+            terminals_with_size{end+1} = "wxt";
           endif
           if (any (strncmpi (term, terminals_with_size, 3)))
 	    if (term_units_are_pixels (term))