diff scripts/plot/gnuplot_drawnow.m @ 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 (2009-04-30)
parents 4bb94a71913b
children 470af0f93ca9
line wrap: on
line diff
--- a/scripts/plot/gnuplot_drawnow.m
+++ b/scripts/plot/gnuplot_drawnow.m
@@ -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))