Mercurial > hg > octave-lojdl
changeset 9162:ec159e991ee6
__gnuplot_has_feature__.m: Change version for "x11_figure_position", >4.2.4 to >=4.3.0.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 30 Apr 2009 18:45:42 -0400 |
parents | 406ed43c0233 |
children | 9cb0c21e97f7 |
files | scripts/ChangeLog scripts/plot/__gnuplot_has_feature__.m |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2009-04-30 Ben Abbott <bpabbott@mac.com> + + * plot/__gnuplot_has_feature__.m: Change version for + "x11_figure_position", >4.2.4 to >=4.3.0. + 2009-04-30 Ben Abbott <bpabbott@mac.com> * plot/gnuplot_drawnow.m: For figure position, treat 'wxt' as 'x11'.
--- a/scripts/plot/__gnuplot_has_feature__.m +++ b/scripts/plot/__gnuplot_has_feature__.m @@ -34,8 +34,8 @@ if (isempty (has_features)) gnuplot_version = __gnuplot_version__ (); - versions = {"4.2.4", "4.3", "4.3", "4.2", "4.2", "4.3", "4.3"}; - operators = {">", ">=", ">=", ">=", ">=", ">=", ">="}; + versions = {"4.3", "4.3", "4.3", "4.2", "4.2", "4.3", "4.3"}; + operators = {">=", ">=", ">=", ">=", ">=", ">=", ">="}; have_features = logical (zeros (size (features))); for n = 1 : numel (have_features) has_features(n) = compare_versions (gnuplot_version, versions{n}, operators{n});