#!/usr/bin/env python
# -*- coding: utf-8 -*-

import matplotlib.pyplot as plt
from numpy import array, log
import sys

x = []

y = []

infile = open(sys.argv[1])

for line in infile:
    data = line.replace('\n','').split()
    print(data)
    try : 
        x.append(float(data[0]))
        y.append(float(data[1]))
    except ValueError:
        pass

#x = array(x)
#y = array(y)

figManager = plt.get_current_fig_manager()
figManager.window.showMaximized()
#plt.plot(log(x),log(y))
plt.plot(x,y,"o")
plt.show()

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import matplotlib.pyplot as plt
from numpy import array, log
import sys

x = []

y = []

infile = open(sys.argv[1])

for line in infile:
    data = line.replace('\n','').split()
    print(data)
    try : 
        x.append(float(data[0]))
        y.append(float(data[1]))
    except ValueError:
        pass

#x = array(x)
#y = array(y)

figManager = plt.get_current_fig_manager()
figManager.window.showMaximized()
#plt.plot(log(x),log(y))
plt.plot(x,y,"o")

plt.ylabel('$\log T$')
plt.xlabel('$\log \Sigma$')
plt.grid()
plt.show()

Add labels and grid