Gernot Walzl

SciPy

Scientific Computing with Python

Installation

Spyder

apt-get install python3-spyder

NumPy

apt-get install python3-numpy python-numpy-doc

SciPy

apt-get install python3-scipy python-scipy-doc

Matplotlib

apt-get install python3-matplotlib python-matplotlib-doc

Example

plot_sine.py
import numpy as np
import matplotlib.pyplot as plt

if __name__ == '__main__':
    x = np.arange(0, 2*np.pi, 0.02)
    y = np.sin(x)
    plt.plot(x, y)
    plt.show()
CONTENT.html 2021-08-22 1.1 KB