diff --git a/Code-C/main b/Code-C/main index a9d4677..fdb4b16 100755 Binary files a/Code-C/main and b/Code-C/main differ diff --git a/Py-Script/courbe.py b/Py-Script/courbe.py index 2b12937..392ff7d 100644 --- a/Py-Script/courbe.py +++ b/Py-Script/courbe.py @@ -9,7 +9,7 @@ import sys #! /usr/bin/env python3 # -*- coding: UTF-8 -*- -csv_reader1 = csv.reader(open('rawData.csv')) #Ouvre le fichier .csv +csv_reader1 = csv.reader(open('./RawDataFiles/RawData1.csv')) #Ouvre le fichier .csv bigx = float(-sys.maxsize-1) bigy = float(-sys.maxsize-1) smallx = float(sys.maxsize) @@ -35,11 +35,21 @@ for capteur in capteurs: x_arr.append(capteur[0]) y_arr.append(capteur[1]) -fig, (ax, ax2) = plt.subplots(2,1) +fig1 = plt.figure(1, figsize = (5.91, 2.758)) +fig2 = plt.figure(1, figsize = (5.91, 2.758)) +fig3 = plt.figure(1, figsize = (5.91, 2.758)) +fig4 = plt.figure(1, figsize = (5.91, 2.758)) +fig5 = plt.figure(1, figsize = (5.91, 2.758)) +fig6 = plt.figure(1, figsize = (5.91, 2.758)) +fig7 = plt.figure(1, figsize = (5.91, 2.758)) +fig8 = plt.figure(1, figsize = (5.91, 2.758)) +fig9 = plt.figure(1, figsize = (5.91, 2.758)) +fig10 = plt.figure(1, figsize = (5.91, 2.758)) -ax.set_xlabel('Temps') -ax.set_ylabel('Tenion') -ax.plot(x_arr, y_arr) +fig1.xlabel('Temps') +fig1.ylabel('Tension') +fig1.title("Données tableau 1") +fig1.plot(x_arr, y_arr, 'r') #fig, (ax1) = plt.subplots(2, 1)