summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/langsci/langsci-plot-templates.sty
blob: 5628b1842ce1a0314e2df03d4a5caaa2702cb129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%% Templates for plotting with pgfplots in Language Science Press books.

%% Cycle lists for bar plots
%% Red-Yellow-Blue, inspired by ColorBrewer's RdYlBu
\pgfplotscreateplotcyclelist{langsci-RdYlBl-6}{
	{lsRed,fill=lsRed!90!white,mark=none},
	{lsMidOrange,fill=lsMidOrange!90!white,mark=none},
	{lsYellow,fill=lsYellow!90!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none},
	{lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none},
	{lsNightBlue,fill=lsNightBlue!90!white,mark=none}
} 

\pgfplotscreateplotcyclelist{langsci-RdYlBl-5}{
	{lsRed,fill=lsRed!90!white,mark=none},
	{lsMidOrange,fill=lsMidOrange!90!white,mark=none},
	{lsYellow,fill=lsYellow!90!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none},
	{lsNightBlue,fill=lsNightBlue!90!white,mark=none}
} 

\pgfplotscreateplotcyclelist{langsci-RdYlBl-4}{
	{lsRed,fill=lsRed!90!white,mark=none},
	{lsMidOrange,fill=lsMidOrange!90!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none},
	{lsNightBlue,fill=lsNightBlue!90!white,mark=none}
} 

\pgfplotscreateplotcyclelist{langsci-RdYlBl-3}{
	{lsMidOrange,fill=lsMidOrange!90!white,mark=none},
	{lsYellow,fill=lsYellow!90!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none}
} 

%% Yellow-Green-Blue, inspired by ColorBrewer's YlGnBu

\pgfplotscreateplotcyclelist{langsci-YlGnBl-5}{
	{lsYellow,fill=lsYellow!50!white,mark=none},
	{lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
	{lsMidGreen,fill=lsMidGreen!50!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none},
	{lsNightBlue,fill=lsNightBlue!90!white,mark=none},
} 

\pgfplotscreateplotcyclelist{langsci-YlGnBl-4}{
	{lsYellow,fill=lsYellow!50!white,mark=none},
	{lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
	{lsMidGreen,fill=lsMidGreen!50!white,mark=none},
	{lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none}
} 

\pgfplotscreateplotcyclelist{langsci-YlGnBl-3}{
	{lsYellow,fill=lsYellow!50!white,mark=none},
	{lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
	{lsLightBlue,fill=lsLightBlue!90!white,mark=none}
}