# -*- coding: utf-8 -*-
#ipython --pylab
import numpy as np
from matplotlib.pyplot import *

# Test

file_name = "DynamicModel.csv"

if __name__ == '__main__':
	title = np.loadtxt(file_name, dtype=str, delimiter=",")
	data = np.loadtxt(file_name, skiprows=1, delimiter=",")

	for idx, item in enumerate(data[0,:]):
		if(idx == 0):
			#skip time
			continue
		plot(data[:,0], data[:,idx], label=title[0, idx])
	xlabel('time [s]');
	legend()
	show()