Changes plot color and y scale.
This commit is contained in:
@@ -193,8 +193,8 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
srtt_plot = ax1.plot(
|
srtt_plot = ax1.plot(
|
||||||
transmission_df["srtt"].dropna(),
|
transmission_df["srtt"].dropna(),
|
||||||
color="red",
|
color="maroon",
|
||||||
linestyle="dashdot",
|
linestyle="dotted",
|
||||||
label="sRTT",
|
label="sRTT",
|
||||||
)
|
)
|
||||||
goodput_plot = ax2.plot(
|
goodput_plot = ax2.plot(
|
||||||
@@ -221,7 +221,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
ax0.set_ylim(0, 5000)
|
ax0.set_ylim(0, 5000)
|
||||||
ax1.set_ylim(0, 1) #0.3
|
ax1.set_ylim(0, 1) #0.3
|
||||||
ax2.set_ylim(0, 600)
|
ax2.set_ylim(0, 500)
|
||||||
#ax00.set_ylim(-25, 0)
|
#ax00.set_ylim(-25, 0)
|
||||||
|
|
||||||
ax00.set_xlabel("arrival time [s]")
|
ax00.set_xlabel("arrival time [s]")
|
||||||
@@ -256,7 +256,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
#ax00.set_zorder(100)
|
#ax00.set_zorder(100)
|
||||||
plt.savefig("{}{}_plot.eps".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
plt.savefig("{}{}_plot.eps".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
||||||
serial_df.to_csv("{}{}_plot.csv".format(args.save, csv.replace(".csv", "")))
|
#serial_df.to_csv("{}{}_plot.csv".format(args.save, csv.replace(".csv", "")))
|
||||||
else:
|
else:
|
||||||
fig.legend(loc="lower right")
|
fig.legend(loc="lower right")
|
||||||
plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")), bbox_inches="tight")
|
||||||
|
|||||||
Reference in New Issue
Block a user