|
|
|
@ -56,12 +56,12 @@ def generate_one_plot(x_values, y_values, x_y_size: int) -> plt:
|
|
|
|
|
plt.xlim(0, x_y_size)
|
|
|
|
|
plt.ylim(0, x_y_size)
|
|
|
|
|
# 326
|
|
|
|
|
plt.ylabel('Packet Size [B]')
|
|
|
|
|
plt.xlabel('Normalized Arrival Time')
|
|
|
|
|
plt.ylabel('Attributes')
|
|
|
|
|
plt.xlabel('Attribute values')
|
|
|
|
|
# plt.set_cmap('gnuplot')
|
|
|
|
|
plt.set_cmap('BuPu')
|
|
|
|
|
# plt.set_cmap('Greys')
|
|
|
|
|
plt.axis('off')
|
|
|
|
|
plt.axis('on')
|
|
|
|
|
return plt
|
|
|
|
|
# plt.savefig(os.path.join(figure_save_path, qwe + ".png"), bbox_inches='tight', pad_inches=0) # 分别命名图片
|
|
|
|
|
|
|
|
|
|