y1 = np.genfromtxt(first_filename) y2 = np.genfromtxt(second_filename) y1 = np.array([y1]) y2 = np.array([y2]) x = [0,10,20,30,40,50] plt.plot(x, y1, x, y2) plt.title('Data') plt.xlabel('xlabel') plt.ylabel('ylabel') plt.show()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)