When I run my code, the plot only shows up in the point x = 4. I want it to show up in the entire interval.
from math import exp, pi, sin
import matplotlib.pyplot as plt
for x in range(-4,5):
f = (exp(-1*(x)**2))*sin(3*pi*(x))
print(x,"\t", f)
plt.plot(x,f, 'ro', markersize=1)
plt.show()