Adds plot styling.
This commit is contained in:
@@ -9,8 +9,8 @@ import matplotlib.pyplot as plt
|
||||
|
||||
plt_params = {
|
||||
"pgf.texsystem": "lualatex",
|
||||
"legend.fontsize": "x-large",
|
||||
"figure.figsize": (15, 5),
|
||||
#"legend.fontsize": "x-large",
|
||||
#"figure.figsize": (15, 5),
|
||||
"axes.labelsize": 15, # "small",
|
||||
"axes.titlesize": "x-large",
|
||||
"xtick.labelsize": 15, # "small",
|
||||
@@ -20,7 +20,12 @@ plt_params = {
|
||||
"mathtext.fontset": "dejavusans",
|
||||
}
|
||||
|
||||
plt.rcParams.update(plt_params)
|
||||
#plt.rcParams.update(plt_params)
|
||||
|
||||
import seaborn as sns
|
||||
sns.set()
|
||||
|
||||
plt.rcParams["figure.figsize"] = (10, 3)
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = ArgumentParser()
|
||||
@@ -72,6 +77,7 @@ if __name__ == "__main__":
|
||||
ax.set_ylabel("bandwidth [MHz]")
|
||||
ax.set_xlabel("time [minutes]")
|
||||
ax.set_xlim([0, df.index[-1]])
|
||||
ax.xaxis.grid(False)
|
||||
|
||||
|
||||
L = plt.legend()
|
||||
|
||||
Reference in New Issue
Block a user