Skip to content

Instantly share code, notes, and snippets.

@mattkoes
mattkoes / gfplot.py
Created February 1, 2012 21:28
plot greens functions
# Read in a Kao GF
# Print the file
from string import *
import matplotlib.pyplot as plt
# Open Greens function file for reading with a given filename
GF = open("kaogf.txt","r")
# Read in lines and split into a list