import matplotlib
import matplotlib.pyplot as plt
import numpy as np
matplotlib.rc('text', usetex = True)
import pylab
import sys

filename = u"../output/test_polar_alldata.txt"
#filename = u"D:/Наука/_Статьи/__в работе/AiT - unscented/опыты/UTvsCMFresults/"
#filename = sys.argv[1]
x, y, xi, yi = np.loadtxt(filename, delimiter = ';', usecols=(0,1,2,3), unpack=True, dtype=float, skiprows=1)

from pylab import *

f = plt.figure(num=None, figsize=(7, 5), dpi=150, facecolor='w', edgecolor='k')
#plt.subplots_adjust(left=0.06, bottom=0.01, right=0.98, top=0.99, wspace=0.1)
#ax1 = plt.subplot(411)
ax1 = plt.subplot(111)
ax1.plot(xi, yi, '.', color = 'black', linewidth = 1.0)
ax1.plot(x, y, '.', color = 'red', linewidth = 1.0)


plt.show();