Skip to content

Commit 85a4a49

Browse files
committed
Add stylesheet for plots
1 parent fe2af80 commit 85a4a49

File tree

4 files changed

+966
-693
lines changed

4 files changed

+966
-693
lines changed

notebooks/evaluation_experiment.ipynb

Lines changed: 427 additions & 691 deletions
Large diffs are not rendered by default.

notebooks/mpl_stylesheet.mplstyle

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# mpl_stylesheet.mplstyle
2+
3+
# Font settings
4+
font.family: serif
5+
font.serif: DejaVu Serif # Default serif font
6+
font.size: 11 # General font size
7+
8+
# Axes settings
9+
axes.titlesize: 12 # Title font size
10+
axes.labelsize: 11 # X and Y label font size
11+
axes.labelpad: 5 # Padding between label and axis
12+
axes.linewidth: 0.8 # Width of the axis lines
13+
14+
# Tick settings
15+
xtick.labelsize: 9 # X tick label size
16+
ytick.labelsize: 9 # Y tick label size
17+
xtick.major.size: 4
18+
ytick.major.size: 4
19+
xtick.minor.size: 2.5
20+
ytick.minor.size: 2.5
21+
xtick.direction: in # Ticks inside the plot
22+
ytick.direction: in
23+
24+
# Legend settings
25+
legend.fontsize: 9 # Legend font size
26+
legend.frameon: False # No frame around the legend
27+
28+
# Grid settings
29+
grid.linestyle: -- # Dashed grid line
30+
grid.linewidth: 0.6
31+
grid.alpha: 0.7
32+
grid.color: gray
33+
34+
# Figure settings
35+
figure.figsize: 6.4, 4.8 # Adjust figure size as needed
36+
figure.dpi: 300
37+
38+
# Line settings
39+
lines.linewidth: 1.5 # Slightly thicker lines for better visibility
40+
lines.markersize: 4 # Marker size
41+
42+
# Error bars
43+
errorbar.capsize: 2
44+
45+
# Savefig settings
46+
savefig.dpi: 300 # High resolution for publication
47+
savefig.bbox: tight # Trim the figure

0 commit comments

Comments
 (0)