From 6eba7b557ea383d86e9f7b8ad63db0ff95cd2997 Mon Sep 17 00:00:00 2001
From: root <root@LAPTOP-DVK2S678.localdomain>
Date: Fri, 17 Mar 2023 14:46:17 +0000
Subject: [PATCH] Added new function to the python-plot-script from
 python-addon

---
 python-plot-script.py | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 python-plot-script.py

diff --git a/python-plot-script.py b/python-plot-script.py
new file mode 100644
index 0000000..265c3f3
--- /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()
-- 
GitLab