diff --git a/python-plot-script.py b/python-plot-script.py new file mode 100644 index 0000000000000000000000000000000000000000..265c3f373ca5eeef1104f94d78d2260b792ee4f6 --- /dev/null +++ b/python-plot-script.py @@ -0,0 +1,23 @@ +import pandas as pd +import os +import glob +import matplotlib.pyplot as plt +user_key= 4361 + +def plot_all_csv_pressure(): + path = os.getcwd() + csv_files = glob.glob(os.path.join(path, '*.csv')) + + fr f in csv_files: + storm = pd.read_csv(f) + storm['Pressure'].plot() + plt.show() + +def plot_all_csv_intensity(): + path = os.getcwd() + csv_files = glob.glob(os.path.join(path, '*.csv')) + + for f in csv_files: + storm = pd.read_csv(f) + storm['Intensity'].plot() + plt.show()