Browse Source

Tweak perf2tex some more

jonathanvdc 8 years ago
parent
commit
9abafc5068
1 changed files with 3 additions and 3 deletions
  1. 3 3
      performance/perf2tex.py

+ 3 - 3
performance/perf2tex.py

@@ -9,7 +9,7 @@ import utils
 
 # pylint: disable=I0011,W0141
 
-COLOR_SCHEME_MAX_COLOR = (16, 59, 176)
+COLOR_SCHEME_MAX_COLOR = (8, 30, 89)
 COLOR_SCHEME_MIN_COLOR = (216, 33, 0)
 
 DEFAULT_BAR_WIDTH = 14
@@ -147,7 +147,7 @@ def assemble_stacked_latex_chart(optimization_levels,
         major x tick style=transparent,
         ymajorgrids=true,
         xticklabels={%s},
-        x tick label style={rotate=90,anchor=east,font=\tiny},
+        x tick label style={rotate=90,anchor=east,font=\scriptsize},
         tick label style={font=\footnotesize},
         legend style={font=\footnotesize,yshift=-3ex},
         label style={font=\footnotesize},
@@ -171,7 +171,7 @@ def assemble_stacked_latex_chart(optimization_levels,
             coordinates {%s};""" % (
             quantity_color_names[quantity], quantity_color_names[quantity],
             ",nodes near coords,"
-            "every node near coord/.append style={rotate=90, anchor=west},color=black"
+            "every node near coord/.append style={rotate=90, anchor=west,color=black}"
             if j == len(data) - 1 else "", ' '.join(contents)))
     lines.append(r"""
         \legend{%s}""" % ','.join(map(encode_latex_string, quantity_names)))