2808 explained code solutions for 75 technologies


python-matplotlibHow to plot exponential function


import matplotlib.pyplot as plt
plt.plot([1,2**2,3**3,4**4,5**5,6**6,7**7])
plt.yscale('log')
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities

.plot(

plot specified data

.yscale('log')

scale Y axis exponentially

.show()

render chart in a separate window