# HG changeset patch # User John W. Eaton # Date 1233331851 18000 # Node ID 399af34bb4bf2fdc25c7981baa7f7a2850258e19 # Parent 20e93feaa7f864fa3b7898bfbd3f979050fb142e # User Ben Abbott # Date 1233331838 18000 # Node ID 22880d26045c35be0b8e05e1934dc127021272d0 # Parent 4385bb503467d6cbd834378dd4023b1f5052b858 print.m: Use __gnuplot_has_feature__ diff -r 20e93feaa7f8 -r 399af34bb4bf scripts/ChangeLog --- a/scripts/ChangeLog Fri Jan 30 11:06:44 2009 -0500 +++ b/scripts/ChangeLog Fri Jan 30 11:10:51 2009 -0500 @@ -1,5 +1,8 @@ 2009-01-30 Ben Abbott + * plot/print.m: Use __gnuplot_has_feature__ instead of + compare_versions. + * plot/gnuplot_drawnow.m: Respect x11 figure position property. 2009-01-29 John W. Eaton diff -r 20e93feaa7f8 -r 399af34bb4bf scripts/plot/print.m --- a/scripts/plot/print.m Fri Jan 30 11:06:44 2009 -0500 +++ b/scripts/plot/print.m Fri Jan 30 11:10:51 2009 -0500 @@ -221,7 +221,7 @@ if (strcmp (dev, "tex")) dev = "epslatex"; ## gnuplot 4.0 wants ".eps" in the output name - if (compare_versions (__gnuplot_version__, "4.2", "<")) + if (! __gnuplot_has_feature__ ("epslatex_implies_eps_filesuffix")) name = cstrcat (name(1:dot), "eps"); endif elseif (strcmp (dev, "ill")) @@ -261,7 +261,7 @@ termn = dev; options = ""; elseif (strcmp (dev, "epslatexstandalone")) - if (compare_versions (__gnuplot_version__, "4.2", ">=")) + if (__gnuplot_has_feature__ ("epslatexstandalone_terminal")) termn = "epslatex"; options = "standalone "; else