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