Dear all,
I found the solution myself.
===
OF = []
import csv, os, pylab, numpy
os.chdir('c:\\Users\\stijnc\\Documents\\Reinteract\\test')
with open('of2.txt','rb') as csvfile:
line = csv.reader(csvfile, delimiter=' ')
for col in line:
OF.append(col[2])
theta, phi = numpy.mgrid[0:95:5,0:360:5]
OF = numpy.reshape(OF,theta.shape)
ax = pylab.subplot(111, polar=True)
c = pylab.contour(phi*3.14/180,theta,OF,10,colors='k')
pylab.clabel(c, inline=1, fontsize=10)
pylab.show()
===
Best regards,
Stijn.
--
! Please consider the environment before printing this email
________________________________________________
Stijn Calders
Services and Operations: Space Weather
Belgian Institute for Space Aeronomy (BIRA-IASB)
Ringlaan 3
B-1180 Brussels
BELGIUM
phone :
+32 (0)2 373.04.19
e-mail :
stijn....@aeronomie.be
web :
www.aeronomie.be
________________________________________________