matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python의 로고
This media was created with matplotlib (comprehensive library for creating static, animated, and interactive visualizations in Python)
Here is a listing of the source used to create this file.
#!/usr/bin/env python"""This generates the graph of the function f(x) = exp(-x)."""# Author: Ika. 2015-08-08importmatplotlib.pyplotaspltimportnumpyasnpx=np.linspace(0,10,100)y=np.exp(-x)plt.plot(x,y)plt.savefig("matplotlib_basic.svg")