-
Notifications
You must be signed in to change notification settings - Fork 3
/
ClassicScience.mplstyle
83 lines (61 loc) · 1.76 KB
/
ClassicScience.mplstyle
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
# Adapted from "SciencePlots" Using the Hershey fonts to create IDL-style plots, naming "ClassicScience"
# Matplotlib style for scientific plotting
# This is the base style for "SciencePlots"
# see: https://github.com/garrettj403/SciencePlots
# Set color cycle: from https://www.vis4.net/palettes
axes.prop_cycle : cycler('color', ['00195e', '4da9ba', '65ffaa', 'fba329', 'd84a11', '8e0000'])
# Set default figure size
figure.figsize : 10.0, 7.0
# Set x axis
xtick.direction : in
xtick.major.size : 6.0
xtick.major.width : 1.5
xtick.major.pad : 5
xtick.minor.size : 4
xtick.minor.width : 1.0
xtick.minor.visible : True
xtick.top : True
# Set y axis
ytick.direction : in
ytick.major.size : 6.0
ytick.major.width : 1.5
ytick.major.pad : 5
ytick.minor.size : 4
ytick.minor.width : 1.0
ytick.minor.visible : True
ytick.right : True
# Set line widths
axes.linewidth : 2.0
grid.linewidth : 2.0
lines.linewidth : 2.5
# Remove legend frame
legend.frameon : False
# Always save as 'tight'
savefig.bbox : tight
savefig.pad_inches : 0.05
#axes.labelweight : normal
axes.labelsize: 24
# Use serif fonts
font.serif: AVHershey Complex
font.sans-serif: AVHershey Duplex
font.monospace: AVHershey Complex
font.family: serif
text.usetex: False
#text.usetex : true
#font.family : AVHershey Complex
font.weight: 500
font.size: 20
mathtext.fontset : custom
mathtext.default: it
mathtext.rm : AVHershey Complex:medium
mathtext.it : AVHershey Complex:medium:italic
mathtext.bf : AVHershey Complex:heavy
mathtext.sf : AVHershey Duplex:medium
mathtext.tt: AVHershey Complex:light
mathtext.fallback : None
axes.formatter.use_mathtext: True
ps.fonttype: 42
pdf.fonttype: 42
#text.dvipnghack : True
# Use LaTeX for math formatting
# text.latex.preamble : \AtBeginDocument{\catcode`\&=12\catcode`\#=12}