diff scripts/plot/__gnuplot_has_feature__.m @ 9191:ad33527d2e51

Have 'legend' inherit font properties from the parent axis.
author Ben Abbott <bpabbott@mac.com>
date Fri, 08 May 2009 21:11:05 -0400
parents ec159e991ee6
children b41a7b2bd6fc
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_has_feature__.m
+++ b/scripts/plot/__gnuplot_has_feature__.m
@@ -30,12 +30,13 @@
               "epslatex_implies_eps_filesuffix",
               "epslatexstandalone_terminal",
               "screen_coordinates_for_{lrtb}margin",
-              "variable_GPVAL_TERMINALS"};
+              "variable_GPVAL_TERMINALS",
+              "key_has_font_properties"};
 
   if (isempty (has_features))
     gnuplot_version = __gnuplot_version__ ();
-    versions = {"4.3", "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", "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});