I have a .dat file that contains two columns of numbers so it looks something like this:
111 112
110.9 109
103 103
and so on.
<
import numpy as np
import matplotlib.pyplot as plot
#data = np.loadtxt("plot_me.dat")
#x,y=np.loadtxt("plot_me.dat",unpack=True) #thanks warren!
#x,y = zip(*data)
#plot.plot(x, y, linewidth=2.0)
plot.plot(*np.loadtxt("plot_me.dat",unpack=True), linewidth=2.0)
plot.show()
[Edit]Thanks for the tip i think its as compact as possible now :P

If you want it to be log10 just call log10 on the nparray)
plot.plot(*np.log10(np.loadtxt("plot_me.dat",unpack=True)), linewidth=2.0)
