<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from matplotlib.pyplot import *
from numpy import sin

x_vals = [0.2*n for n in range(20)]
y1 = [sin(0.3*x) for x in x_vals]
y2 = [sin(2*x) for x in x_vals]
plot(x_vals ,y1, label='sin(0.3*x)' )
plot(x_vals , y2, label='2' )
legend ()
show() # not always needed.

plot(x_vals ,y2 , color='green',
   linestyle ='dashed',
   marker='o',
   markerfacecolor = 'blue',
   markersize=12 ,linewidth=6)
</pre></body></html>