from matplotlib import pyplot xWerte = [i for i in range(-10, 30)] yWerte = [(x-3)*(x+2)*(x-25) for x in xWerte] pyplot.bar(xWerte, yWerte, color='blue') pyplot.show()