From 5341b5e3076ce9e46aa291093d7172d730e79ef4 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sun, 17 Nov 2019 19:36:48 +0100 Subject: [PATCH] change color palette so that the first color is blue The color scheme for the page is blue/grey, so it makes sense to use blue as the main color for plots. --- .../recommind/logs/GnuplotColorPalettes.java | 66 ++++++++++++++++--- 1 file changed, 57 insertions(+), 9 deletions(-) diff --git a/pdb-plotting/src/main/java/org/lucares/recommind/logs/GnuplotColorPalettes.java b/pdb-plotting/src/main/java/org/lucares/recommind/logs/GnuplotColorPalettes.java index 2dcee22..7f5e5a7 100644 --- a/pdb-plotting/src/main/java/org/lucares/recommind/logs/GnuplotColorPalettes.java +++ b/pdb-plotting/src/main/java/org/lucares/recommind/logs/GnuplotColorPalettes.java @@ -5,6 +5,8 @@ import java.util.List; public interface GnuplotColorPalettes { + + /** * *
#FF69B4
*/ - List DEFAULT = Arrays.asList(GnuplotColor.byHex("9400D3"), // - GnuplotColor.byHex("009e73"), // - GnuplotColor.byHex("56b4e9"), // - GnuplotColor.byHex("e69f00"), // - GnuplotColor.byHex("f0e442"), // - GnuplotColor.byHex("0072b2"), // - GnuplotColor.byHex("e51e10"), // - GnuplotColor.byHex("FF69B4")// - ); + List GNUPLOT = Arrays.asList(// + GnuplotColor.byHex("9400D3"), // purple + GnuplotColor.byHex("009e73"), // green + GnuplotColor.byHex("56b4e9"), // light blue + GnuplotColor.byHex("e69f00"), // orange + GnuplotColor.byHex("f0e442"), // yellow + GnuplotColor.byHex("0072b2"), // blue + GnuplotColor.byHex("e51e10"), // red + GnuplotColor.byHex("FF69B4")// magenta +); + + List GNUPLOT_REORDERED = Arrays.asList(// + GnuplotColor.byHex("0072b2"), // blue + GnuplotColor.byHex("e69f00"), // orange + GnuplotColor.byHex("9400D3"), //purple + GnuplotColor.byHex("009e73"), //green + GnuplotColor.byHex("f0e442"), // yellow + GnuplotColor.byHex("e51e10"), // red + GnuplotColor.byHex("56b4e9"), // lightblue + GnuplotColor.byHex("FF69B4")// magenta + ); + + /** + *
#1f77b4
+ *
#ff7f0e
+ *
#d62728
+ *
#2ca02c
+ *
#fdbb6c
+ *
#b3df72
+ *
#feffbe
+ * -- + *
#4660ff
+ * + * + */ + List MATPLOTLIB = Arrays.asList(// + GnuplotColor.byHex("1f77b4"), // blue + GnuplotColor.byHex("ff7f0e"), // orange + GnuplotColor.byHex("d62728"), // red + GnuplotColor.byHex("2ca02c"), // green + GnuplotColor.byHex("fdbb6c"), // light orange + GnuplotColor.byHex("b3df72"), // light green + GnuplotColor.byHex("feffbe")// light yellow +); + + + List DEFAULT = GNUPLOT_REORDERED; }