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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
%% This is file `tuda-pgfplots.sty' version 3.13 (2021/03/16),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
%%
%% Copyright (C) 2018--2021 by Marei Peischl <marei@peitex.de>
%%
%% ============================================================================
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are
%% Marei Peischl <tuda-ci@peitex.de>
%% Markus Lazanowski <latex@ce.tu-darmstadt.de>
%%
%% The development respository can be found at
%% https://github.com/tudace/tuda_latex_templates
%% Please use the issue tracker for feedback!
%%
%% ============================================================================
%%
\def\fileversion{3.13}
\def\filedate{2021/03/16}
% Special thanks to: Sebastian Schöps Institut Theorie Elektromagnetischer Felder (TEMF), TU Darmstadt
% The original version of this file has been inspired by the colorscheme in the Metropolis beamer theme by Matthias Vogelgesang https://github.com/matze/mtheme
\ProvidesPackage{tuda-pgfplots}[\filedate\space\fileversion\space tuda-ci pgfplots color schemes]
\RequirePackage{pgfplots}
\RequirePackage{tudacolors}
\pgfplotscreateplotcyclelist{tudabarplot cycle}{%
draw=TUDa-1a, fill=TUDa-1b \\
draw=TUDa-9b, fill=TUDa-9c \\
draw=TUDa-3b, fill=TUDa-3c \\
draw=TUDa-10b, fill=TUDa-10c\\
draw=TUDa-5c, fill=TUDa-5d \\
draw=TUDa-6d, fill=TUDa-6a \\
}
\pgfplotscreateplotcyclelist{tudalineplot cycle}{%
TUDa-1b, mark=*, \\
TUDa-9c, mark=diamond*, \\
TUDa-3c, mark=square*, \\
TUDa-10c, mark=triangle* \\
TUDa-5d, mark=*, \\
TUDa-6a, mark=diamond*, \\
}
\pgfplotsset{
tuda3dplot/.style={
axis line style = thin,
axis x line*=box,
axis y line*=box,
tudabaseplot,
xmajorgrids=true,
ymajorgrids=true,
major grid style={dotted},
},
tudalineplot/.style={
tudabaseplot,
grid,
legend style={cells={anchor=west}},
thick,
mark size=1.5pt,
cycle list name=tudalineplot cycle,
},
tudabarplot base/.style={
tudabaseplot,
bar width=6pt,
cycle list name=tudabarplot cycle,
},
tudabarplot/.style={
ybar,
tudabarplot base,
xmajorgrids=false,
ymajorgrids=true,
},
horizontal tudabarplot/.style={
xbar stacked,
tudabarplot base,
xmajorgrids=true,
ymajorgrids=false,
},
colormap={tudaa}{rgb255=(93,133,195)
rgb255=(0,156,218)
rgb255=(80,182,149)
rgb255=(175,204,80)
rgb255=(221,223,72)
rgb255=(255,224,92)
rgb255=(248,186,60)
rgb255=(238,122,52)
rgb255=(233,80,62)
rgb255=(201,48,142)
rgb255=(128,69,151)
},
colormap={tudab}{%
rgb255=(0,90,169)
rgb255=(0,131,204)
rgb255=(0,157,129)
rgb255=(153,192,0)
rgb255=(201,212,0)
rgb255=(253,202,0)
rgb255=(245,163,0)
rgb255=(236,101,0)
rgb255=(230,0,26)
rgb255=(166,0,132)
rgb255=(114,16,133)
rgb255=(0,78,138)
},
colormap={tudac}{
rgb255=(0,78,138)
rgb255=(0,104,157)
rgb255=(0,136,119)
rgb255=(127,171,22)
rgb255=(177,189,0)
rgb255=(215,172,0)
rgb255=(210,135,0)
rgb255=(204,76,3)
rgb255=(185,15,34)
rgb255=(149,17,10)
rgb255=(97,28,115)
},
colormap={tudad}{
rgb255=(36,53,114)
rgb255=(0,78,115)
rgb255=(0,113,94)
rgb255=(106,139,55)
rgb255=(153,166,4)
rgb255=(174,142,0)
rgb255=(190,111,0)
rgb255=(169,73,19)
rgb255=(156,28,38)
rgb255=(115,32,84)
rgb255=(76,34,106)
},
tudabaseplot/.style={
colormap name=viridis,
legend style={fill=white,cells={anchor=west}},
ticklabel style={font=\footnotesize},
legend style={font=\footnotesize},
major grid style={dotted},
axis x line=bottom,axis y line=left,
},
colormap={tuda}{
rgb255=(115,32,84)
rgb255=(0,157,129)
rgb255=(255,224,92)
}
}
\endinput
|