comparison 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
comparison
equal deleted inserted replaced
9397:394c7adb488f 9398:684312a5291c
203 terminals_with_size = {"emf", "gif", "jpeg", "latex", "pbm", ... 203 terminals_with_size = {"emf", "gif", "jpeg", "latex", "pbm", ...
204 "pdf", "png", "postscript", "svg", ... 204 "pdf", "png", "postscript", "svg", ...
205 "epslatex", "pstex", "pslatex"}; 205 "epslatex", "pstex", "pslatex"};
206 if (__gnuplot_has_feature__ ("x11_figure_position")) 206 if (__gnuplot_has_feature__ ("x11_figure_position"))
207 terminals_with_size{end+1} = "x11"; 207 terminals_with_size{end+1} = "x11";
208 endif
209 if (__gnuplot_has_feature__ ("wxt_figure_size"))
208 terminals_with_size{end+1} = "wxt"; 210 terminals_with_size{end+1} = "wxt";
209 endif 211 endif
210 if (any (strncmpi (term, terminals_with_size, 3))) 212 if (any (strncmpi (term, terminals_with_size, 3)))
211 if (term_units_are_pixels (term)) 213 if (term_units_are_pixels (term))
212 size_str = sprintf ("size %d,%d", gnuplot_size); 214 size_str = sprintf ("size %d,%d", gnuplot_size);