X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/77d9e641db24dc1edb6d0e2b91b58d395761616f..51e97eade63b2f4c7b500feb503436cc4a886e59:/examples/diamonds.py diff --git a/examples/diamonds.py b/examples/diamonds.py index d5119b4..56af7e3 100755 --- a/examples/diamonds.py +++ b/examples/diamonds.py @@ -1,5 +1,22 @@ #!/usr/bin/env python3 +""" + This file is part of Linpy. + + Linpy is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Linpy is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Linpy. If not, see . +""" + import matplotlib.pyplot as plt from matplotlib import pylab @@ -46,3 +63,5 @@ cubo = Le(0, x) & Le(x, 5) & Le(0, y) & Le(y, 5) & Le(0, z) & Le(z, 5) & \ cubo.plot(cubo_plot, facecolors=(0, 0, 1, 0.75)) pylab.show() + +# Copyright 2014 MINES ParisTech