Skip to content

Commit 4fcce85

Browse files
committed
remove unnecessary file
1 parent 6324625 commit 4fcce85

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

src/VortexStepMethod.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ include("wing_aerodynamics.jl")
4949
include("solver.jl")
5050

5151
# include plotting
52-
include("color_palette.jl")
5352
include("plotting.jl")
5453

5554
end # module

src/color_palette.jl

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/plotting.jl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2+
"""
3+
set_plot_style()
4+
5+
Set the default style for plots using LaTeX.
6+
"""
7+
function set_plot_style(titel_size=16)
8+
rcParams = plt.PyDict(plt.matplotlib."rcParams")
9+
rcParams["text.usetex"] = true
10+
rcParams["font.family"] = "serif"
11+
rcParams["font.serif"] = ["Computer Modern Roman"]
12+
rcParams["axes.titlesize"] = titel_size
13+
rcParams["axes.labelsize"] = 12
14+
rcParams["axes.linewidth"] = 1
15+
rcParams["lines.linewidth"] = 1
16+
rcParams["lines.markersize"] = 6
17+
rcParams["xtick.labelsize"] = 10
18+
rcParams["ytick.labelsize"] = 10
19+
rcParams["legend.fontsize"] = 10
20+
rcParams["figure.titlesize"] = 16
21+
rcParams["pgf.texsystem"] = "pdflatex" # Use pdflatex
22+
rcParams["pgf.rcfonts"] = false
23+
rcParams["figure.figsize"] = (10, 6) # Default figure size
24+
end
25+
26+
127
"""
228
save_plot(fig, save_path, title; data_type=".pdf")
329

0 commit comments

Comments
 (0)