From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Use of libraries | Use of libraries | ||
== Numpy & SciPy == | |||
== SymPy == | |||
== IPython (including notebook) == | |||
Revision as of 06:50, 5 September 2013
(Refer: Scientific_Spin)
C programming
Including use of math, gsl
C++ programming
Use of libraries such as Bliz++ and others
Java programming
Use of libraries
Numpy & SciPy
SymPy
IPython (including notebook)
matplotlib
Please test the following with both Python 2 and Python 3.
- Basic plotting with the default backend using the
pylab
module:
# basic plotting with default backend from pylab import plot, show plot([1,2,3]) show()
- Basic plotting with the default backend using the
maplotlib
package:
# basic plotting using the matplotlib interface import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.show()
The default backend is Qt4Agg
. The next scripts will test theeTkAgg
backend.
- Basic plotting with the
TkAgg
backend using thepylab
module:
# basic plotting with default backend import matplotlib matplotlib.use('TkAgg') from pylab import plot, show plot([1,2,3]) show()
- Basic plotting with the
TkAgg
backend using themaplotlib
package:
# basic plotting using the matplotlib interface import matplotlib matplotlib.use('tkagg') import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.show()