Courbe seul
This commit is contained in:
parent
13b07003ee
commit
16948e901b
BIN
Code-C/main
BIN
Code-C/main
Binary file not shown.
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue