import numpy as np
import matplotlib.pyplot as plt
x = [10000,30000,50000,100000,150000]
y1=[0.07,0.09,0.15,0.21,0.55]
y2=[0.41,0.83,1.22,3.46,5.17]
err=np.random.randint(1,4,5)*0.05
fig, ax = plt.subplots()
line1, =ax.plot(x, y1, marker='d', ms=3, mfc='w')
line2, =ax.plot(x, y2, marker='s', ms=3)
ax.fill_between(x,y1+err,y1-err,alpha=0.2)
ax.fill_between(x,y2+err,y2-err,alpha=0.2)
plt.legend([line1, line2], [ "DP-vMFMM","Fast-vMFMM"],loc='best',frameon=False)
plt.xlabel('data scale'); plt.ylabel('time/s');
plt.show()