In [1]:
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
matplotlib.style.use('ggplot')

In [2]:
df = pd.read_csv(r'C:\Users\MadT\Documents\Visual Studio 2017\Projects\11\11\3.txt', header=None, sep="\t", names=["n", "timsort","quick"])

In [3]:
df.plot(x="n")


Out[3]:
<matplotlib.axes._subplots.AxesSubplot at 0x4b28970>

In [4]:
plt.show()



In [5]:
ax = df.plot(x="n")
fig = ax.get_figure()
fig.savefig('tim.png',dpi=200)

In [5]:
df = pd.read_csv(r'C:\Users\MadT\Documents\Visual Studio 2017\Projects\11\11\3d_tim.txt', header=None, sep="\t", names=["random", "n","tim"])

In [6]:
from mpl_toolkits.mplot3d import Axes3D

In [ ]: