Mercurial > hg > octave-lyh
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 +++ b/scripts/plot/gnuplot_drawnow.m @@ -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)))