File tree Expand file tree Collapse file tree 3 files changed +26
-24
lines changed
Expand file tree Collapse file tree 3 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ include("wing_aerodynamics.jl")
4949include (" solver.jl" )
5050
5151# include plotting
52- include (" color_palette.jl" )
5352include (" plotting.jl" )
5453
5554end # module
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments