From 99aa8701a058dd84cab9283f2477fbd709bcfe43 Mon Sep 17 00:00:00 2001 From: encinass1u <jessica-maria.encinas-silvas4@etu.univ-lorraine.fr> Date: Tue, 17 May 2022 15:26:36 +0000 Subject: [PATCH] Replaced Show_code.py --- Show_code.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Show_code.py b/Show_code.py index de07a22..ae63b7c 100644 --- a/Show_code.py +++ b/Show_code.py @@ -9,10 +9,14 @@ with open('Gts_Surface_T.cvs', 'rb') as csv_file: Plot = plt.imshow(Gts, cmap="bone", norm = None, aspect ='equal' ) plt.show() + +#Section to create an array corresponding to a section of the full matrix L= 15 Sample= Gts[0:L, 0:L] with open('Gts_Sample.cvs', 'wb') as cvs_file: pickle.dump(Sample,cvs_file) + +#Showing the sample in a plot Plot_sample = plt.imshow(Sample, cmap="bone", norm = None, aspect ='equal' ) plt.show() \ No newline at end of file -- GitLab