import matplotlib.pyplot as plt
def plot_graph():
- plt.rcParams["font.size"] = 24
- #plt.rcParams["font.family"] = "TeX Gyre Pagella"
+ plt.rcParams["font.size"] = 22
+ plt.rcParams["font.family"] = "sans-serif"
+ plt.rcParams["figure.figsize"] = [6, 4]
f, ax = plt.subplots()
ax.set_title(TITLE)
XLABEL = "Slot length minus car length [m]"
YLABEL = "Number of changes [-]"
LEGEND = [
- "Reversed approach",
- "Breadth-first search",
+ "Reversed",
+ "BFS",
]
-FILE = "/home/jiri/phd/pub/figs/psp_cusp.eps"
+FILE = "/home/jiri/phd/j1/figs/psp_cusp.eps"
GRID = True
YLOG = False
XLABEL = "Slot length minus car length [m]"
YLABEL = "Elapsed time [s]"
LEGEND = [
- "Reversed approach",
- "Breadth-first search",
+ "Reversed",
+ "BFS",
]
-FILE = "/home/jiri/phd/pub/figs/psp_log_time.eps"
+FILE = "/home/jiri/phd/j1/figs/psp_time.eps"
GRID = False
-YLOG = True
+YLOG = False
PLOT = []
PLOT.append([