Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Module « matplotlib.pyplot »

Fonction triplot - module matplotlib.pyplot

Signature de la fonction triplot

def triplot(*args, **kwargs) 

Description

help(matplotlib.pyplot.triplot)

Draw an unstructured triangular grid as lines and/or markers.

Call signatures::

  triplot(triangulation, ...)
  triplot(x, y, [triangles], *, [mask=mask], ...)

The triangular grid can be specified either by passing a `.Triangulation`
object as the first parameter, or by passing the points *x*, *y* and
optionally the *triangles* and a *mask*. If neither of *triangulation* or
*triangles* are given, the triangulation is calculated on the fly.

Parameters
----------
triangulation : `.Triangulation`
    An already created triangular grid.
x, y, triangles, mask
    Parameters defining the triangular grid. See `.Triangulation`.
    This is mutually exclusive with specifying *triangulation*.
other_parameters
    All other args and kwargs are forwarded to `~.Axes.plot`.

Returns
-------
lines : `~matplotlib.lines.Line2D`
    The drawn triangles edges.
markers : `~matplotlib.lines.Line2D`
    The drawn marker nodes.

Notes
-----

.. note::

    This is the :ref:`pyplot wrapper <pyplot_interface>` for `.axes.Axes.triplot`.


Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé