Skip to content
Snippets Groups Projects
Commit 6eba7b55 authored by root's avatar root
Browse files

Added new function to the python-plot-script from python-addon

parent a2956cfb
No related branches found
No related tags found
No related merge requests found
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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment