import numpy as np
import matplotlib.pyplot as plt
from glob import glob
f, axes = plt.subplots(len(glob("data/h_psi4/h*.dat")), 1, 
                       figsize=(7,20), 
                       sharex=True)
for i, file in enumerate(glob("data/h_psi4/h*.dat")):
    ax = axes[i]
    waveform = np.genfromtxt(file)
    ax.plot(waveform[:,0], waveform[:,1])
png
f, axes = plt.subplots(len(glob("data/h_psi4/psi*.dat")), 1, 
                       figsize=(7,20), 
                       sharex=True)
for i, file in enumerate(glob("data/h_psi4/psi*.dat")):
    ax = axes[i]
    waveform = np.genfromtxt(file)
    ax.plot(waveform[:,0], waveform[:,1])
png
plt.plot(waveform[:,0], waveform[:,1])
[<matplotlib.lines.Line2D at 0x7fc93fa7b4a8>]
 /home/daniel/.virtualenvs/aries/jupyter/lib/python3.6/site-packages/matplotlib/font_manager.py:1238: UserWarning: findfont: Font family ["'URW Bookman L'"] not found. Falling back to DejaVu Sans.
  (prop.get_family(), self.defaultFamily[fontext]))

png