# coding = utf8 import matplotlib.pyplot as plt import numpy as np import scipy as sci xdata = np.array(np.random.uniform(-1,1,50)) ydata = np.array(np.random.uniform(0,1,50)) fig,ax = plt.subplots() #ax.set_title('premier exemple') #ax.set_xlabel(' x axis') #ax.set_ylabel(' y axis') ax.plot(xdata,color='green', marker='X', linestyle='none',label='raw xdata') ax.scatter(xdata,ydata, color='red') #ax.legend() plt.show()