파이썬 입문자입니다.
이렇게 비슷하게 그리라는데 어떻게 해야하나요?
import numpy as np
import matplotlib.pyplot as plt
A = 30
a = 10**-18
x = np.linspace(0,2,100)
y = -A**-x
ax = plt.gca()
plt.plot(x, y, linewidth=2.5, color='navy', label=r'$f(x) = 30 \cdot x^{3.5}$')
plt.legend(loc='upper left')
plt.xlabel(r'x')
plt.ylabel(r'y')
ax.grid(True)
plt.title(r'Normal plot')
plt.show()
plt.clf()
도와주십쇼.