Logo Search packages:      
Sourcecode: matplotlib version File versions

fill_demo.py

#!/usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt

t = np.arange(0.0, 1.01, 0.01)
s = np.sin(2*2*np.pi*t)

plt.fill(t, s*np.exp(-5*t), 'r')
plt.grid(True)
plt.show()

Generated by  Doxygen 1.6.0   Back to index