mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 10:01:38 +08:00
BREAKING: new default color scheme
This commit is contained in:
parent
1cbba3f5d1
commit
c371899579
@ -206,10 +206,13 @@ JKQTGraphsBaseStyle::JKQTGraphsBaseStyle(const JKQTBasePlotterStyle& parent):
|
|||||||
annotationStyle(parent),
|
annotationStyle(parent),
|
||||||
defaultPalette(JKQTPMathImageColorPalette::JKQTPMathImageMATLAB)
|
defaultPalette(JKQTPMathImageColorPalette::JKQTPMathImageMATLAB)
|
||||||
{
|
{
|
||||||
defaultGraphColors<<QColor("red")<<QColor("green")<<QColor("blue")<<QColor("fuchsia")<<QColor("darkorange")
|
// color scale by Okabe & Ito:
|
||||||
<<QColor("navy")<<QColor("firebrick")<<QColor("darkgreen")<<QColor("darkmagenta")
|
// M. Okabe and K. Ito, “How to make figures and presentations that are friendly to color blind people,” University of Tokyo, 2002.
|
||||||
<<QColor("darkgreen")<<QColor("darkslateblue")<<QColor("maroon")<<QColor("indianred")
|
// see also: https://yoshke.org/blog/colorblind-friendly-diagrams
|
||||||
<<QColor("darkolivegreen")<<QColor("mediumpurple")<<QColor("darkcyan");
|
//defaultGraphColors<<QColor(0xD55E00).darker(150)<<QColor(0x0072B2).darker(150)<<QColor(0xF0E442).darker(150)<<QColor(0x009E73).darker(150)
|
||||||
|
// <<QColor(0x56B4E9).darker(150)<<QColor(0xE69F00).darker(150)<<QColor(0,0,0)<<QColor(0xCC79A7).darker(150);
|
||||||
|
// a bit brighter than above
|
||||||
|
defaultGraphColors<<QColor(0xD50000)<<QColor(0x0039D6)<<QColor(0xFFDD00)<<QColor(0x00BB40)<<QColor(0xA84CE4)<<QColor(0xFD8600)<<QColor(0x0B069C);
|
||||||
defaultGraphPenStyles<<Qt::SolidLine<<Qt::DashLine<<Qt::DotLine<<Qt::DashDotLine<<Qt::DashDotDotLine;
|
defaultGraphPenStyles<<Qt::SolidLine<<Qt::DashLine<<Qt::DotLine<<Qt::DashDotLine<<Qt::DashDotDotLine;
|
||||||
for (int i=2; i<=JKQTPMaxSymbolID; i++) defaultGraphSymbols.push_back(static_cast<JKQTPGraphSymbols>(i));
|
for (int i=2; i<=JKQTPMaxSymbolID; i++) defaultGraphSymbols.push_back(static_cast<JKQTPGraphSymbols>(i));
|
||||||
defaultGraphFillStyles<<Qt::SolidPattern;
|
defaultGraphFillStyles<<Qt::SolidPattern;
|
||||||
|
Loading…
Reference in New Issue
Block a user