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.
This commit is contained in:
2019-11-17 19:36:48 +01:00
parent a296a2ca55
commit 5341b5e307

View File

@@ -5,6 +5,8 @@ import java.util.List;
public interface GnuplotColorPalettes {
/**
*
* <div style="background-color: #9400D3; display:inline; padding:
@@ -25,13 +27,59 @@ public interface GnuplotColorPalettes {
* 8px;">#FF69B4</div>
*/
List<GnuplotColor> 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<GnuplotColor> 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<GnuplotColor> 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
);
/**
* <div style="background-color: #1f77b4; display:inline; padding:
* 8px;">#1f77b4</div>
* <div style="background-color: #ff7f0e; display:inline; padding:
* 8px;">#ff7f0e</div>
* <div style="background-color: #d62728; display:inline; padding:
* 8px;">#d62728</div>
* <div style="background-color: #2ca02c; display:inline; padding:
* 8px;">#2ca02c</div>
* <div style="background-color: #fdbb6c; display:inline; padding:
* 8px;">#fdbb6c</div>
* <div style="background-color: #b3df72; display:inline; padding:
* 8px;">#b3df72</div>
* <div style="background-color: #feffbe; display:inline; padding:
* 8px;">#feffbe</div>
* --
* <div style="background-color: #4660ff; display:inline; padding:
* 8px;">#4660ff</div>
*
*
*/
List<GnuplotColor> 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<GnuplotColor> DEFAULT = GNUPLOT_REORDERED;
}