In [2]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
#%matplotlib auto
In [3]:
file_path = "../build/output/"
rho_data = np.loadtxt(file_path+"rho_file.txt");
sigma_data = np.loadtxt(file_path+"sigma_file.txt");
kappa_data = np.loadtxt(file_path+"kappa_file.txt");
data = [rho_data, sigma_data, kappa_data]
emission_data = np.loadtxt(file_path+"emission_file.txt");
nottingham_data = np.loadtxt(file_path+"nottingham_file.txt");
In [4]:
for d in data:
f, (a1, a2) = plt.subplots(1, 2, figsize=(10, 2))
a1.plot(d[:,0], d[:,1], "-")
a2.plot(d[:,0], d[:,2], "-")
plt.show()
In [5]:
plt.plot(emission_data[:, 0], emission_data[:, 2])
plt.yscale('log')
plt.xscale('log')
plt.show()
In [6]:
plt.plot(nottingham_data[:, 0], nottingham_data[:, 2])
plt.xscale('log')
plt.show()
In [7]:
nottingham_data
Out[7]:
In [ ]: