diff scripts/plot/gnuplot_drawnow.m @ 9398:684312a5291c

Add feature 'wxt_has_size' to __gnuplot_has_feature__.m & apply in gnuplot_drawnow.m.
author Ben Abbott <bpabbott@mac.com>
date Thu, 25 Jun 2009 18:58:53 -0400
parents d6c99b2ee941
children 5af462716bff b50d1eb62747
line wrap: on
line diff
--- a/scripts/plot/gnuplot_drawnow.m	Thu Jun 25 12:24:09 2009 -0400
+++ b/scripts/plot/gnuplot_drawnow.m	Thu Jun 25 18:58:53 2009 -0400
@@ -205,6 +205,8 @@
                                  "epslatex", "pstex", "pslatex"};
           if (__gnuplot_has_feature__ ("x11_figure_position"))
             terminals_with_size{end+1} = "x11";
+          endif
+          if (__gnuplot_has_feature__ ("wxt_figure_size"))
             terminals_with_size{end+1} = "wxt";
           endif
           if (any (strncmpi (term, terminals_with_size, 3)))