Mercurial > hg > octave-nkf
diff scripts/plot/print.m @ 8639:399af34bb4bf
# User Ben Abbott <bpabbott@mac.com>
# Date 1233331838 18000
# Node ID 22880d26045c35be0b8e05e1934dc127021272d0
# Parent 4385bb503467d6cbd834378dd4023b1f5052b858
print.m: Use __gnuplot_has_feature__
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jan 2009 11:10:51 -0500 |
parents | 041bb0c64f07 |
children | 5dd06f19e9be |
line wrap: on
line diff
--- a/scripts/plot/print.m +++ b/scripts/plot/print.m @@ -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