## Scientific Packages Testing

### From FedoraProject

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)

## Contents |

## 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 thee`TkAgg`

backend.

- Basic plotting with the
`TkAgg`

backend using the`pylab`

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 the`maplotlib`

package:

# basic plotting using the matplotlib interface import matplotlib matplotlib.use('tkagg') import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.show()