Skip to content
Permalink
Browse files

YAML Benchmark: Use custom color scheme for plot

  • Loading branch information...
sanssecours committed May 24, 2019
1 parent 415b520 commit 61d3911d5183798433ed9fbfefad392600288f63
Showing with 5 additions and 0 deletions.
  1. +5 −0 YAML/Source/run_times.R
@@ -65,6 +65,11 @@ for (filepath in files) {
# =============

ggplot(data = plugin_times, aes(x = lines, y = runtime, color = plugin)) +
scale_color_manual(values = c("YAML CPP" = "#FD7D23",
"Yan LR" = "#FFD300",
"YAMBi" = "#20C5CC",
"YAwn" = "#1992FB",
"YAy PEG" = "#983BC9")) +
scale_x_continuous(name = "Number of Lines/Scalars", trans = 'log10',
breaks = trans_breaks("log10", function(x) 10^x),
labels = trans_format("log10", math_format(10^.x))) +

0 comments on commit 61d3911

Please sign in to comment.
You can’t perform that action at this time.