Lines Matching defs:plt
23 import matplotlib.pyplot as plt
61 plt.scatter(series.perf, series.qual, s=2, label=series.name)
63 plt.xlabel("Speed (MT/s)")
64 plt.ylabel("PSNR dB")
65 plt.legend(loc='lower right', prop={'size': 6})
67 plt.tight_layout()
68 plt.savefig(f"ASTC_v_ISPC_{block_size}.png")
69 plt.clf()
78 plt.scatter(diff_perf, diff_qual, s=2, c="#0091BD", label=label)
79 plt.scatter(np.mean(diff_perf), np.mean(diff_qual), s=10, c="#FFA500", marker="*")
81 plt.axhline(y=0, color="r", linestyle="dotted", lw=0.5)
82 plt.axvline(x=1, color="r", linestyle="dotted", lw=0.5)
84 plt.xlabel("Relative speed")
85 plt.ylabel("PSNR diff (dB)")
86 plt.legend(loc='lower right', prop={'size': 6})
88 plt.tight_layout()
90 plt.savefig(file_name)
91 plt.clf()