X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/98edd00eb4b05e85f7cb1b85cff2f4d733909c57..a8257bb17a1098f69625387a467170cac4b9f483:/doc/tutorial.rst diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 8598cbd..9b55a03 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -4,6 +4,12 @@ Tutorial ======== +This section a short introduction to some of LinPy's features. +For a comprehensive description of its functionalities, please consult the :ref:`reference`. + + +.. _tutorial_polyhedra: + Polyhedra --------- @@ -53,6 +59,8 @@ True False +.. _tutorial_domains: + Domains ------- @@ -75,6 +83,8 @@ Or(And(Eq(x, 0), Ge(y, 0), Ge(-y + 2, 0)), And(Eq(y, 0), Ge(x - 1, 0), Ge(-x + 2 Or(Ge(-x - 1, 0), Ge(x - 3, 0), And(Ge(x, 0), Ge(-x + 2, 0), Ge(-y - 1, 0)), And(Ge(x, 0), Ge(-x + 2, 0), Ge(y - 3, 0))) +.. _tutorial_plot: + Plotting -------- @@ -95,7 +105,7 @@ Also, keyword arguments can be passed such as color and the degree of transparen .. figure:: images/union.jpg :align: center -3D plots are also supported. +3D plots are also supported: >>> import matplotlib.pyplot as plt >>> from matplotlib import pylab