From e43679884e4cd2d7e78a47e17ae64551a88b3f32 Mon Sep 17 00:00:00 2001 From: yulonger's Desktop Date: Mon, 3 Jul 2023 20:08:41 +0800 Subject: [PATCH] Show plot axis --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 462dcda..499afe0 100644 --- a/main.py +++ b/main.py @@ -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) # 分别命名图片