1 """Plot psp results."""
2 import matplotlib.pyplot as plt
5 plt.rcParams["font.size"] = 22
6 plt.rcParams["font.family"] = "sans-serif"
7 plt.rcParams["figure.figsize"] = [6, 4]
13 ax.grid(which="major", linestyle="-", linewidth="0.1", color="gray")
14 #ax.grid(which="minor", linestyle=":", linewidth="0.1", color="gray")
27 plt.savefig(FILE, bbox_inches="tight")
31 TITLE = "Number of direction changes"
32 XLABEL = "Free space [m]"
33 YLABEL = "Number of changes [-]"
38 FILE = "/home/jiri/phd/j1/figs/psp_cusp.eps"
45 [0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7],
46 # use ``for i in `cat stats | cut -d, -f2`; do echo $i,; done`` to generate
65 [0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7],
86 TITLE = "Elapsed time of search"
87 XLABEL = "Free space [m]"
88 YLABEL = "Elapsed time [s]"
93 FILE = "/home/jiri/phd/j1/figs/psp_time.eps"
100 [0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7],
120 [0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7],