<jupyter_start><jupyter_text>Pyplot-style<jupyter_code>x = np.linspace(0, 2, 100)
x
plt.plot(x, x, label='linear')
plt.plot(x, x**2, label='quadratic')  # etc.
plt.plot(x, x**3, label='cubic')
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Simple Plot")
plt.grid(True,color='k')
plt.legend()
plt.plot(x, x,'g', label='linear',linewidth=9)#x,x,'colour,label='**',linewidth=number
plt.plot(x, x**2, label='quadratic',linewidth=9)  # etc.
plt.plot(x, x**3, label='cubic',linewidth=9)
plt.plot(x, x**4,'y', label='polynomial',linewidth=9)
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Simple Plot")
plt.grid(True,color='k')
plt.legend()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup