• File: triplot.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/triplot.pyc
  • Date Modified: 07/22/2015 11:41 PM
  • File size: 2.35 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

|$Mc@sYddlmZddlmZddlmZddlmZddlZ	dZ
dS(i(t	ls_mapper(t	PathPatch(tPath(t
TriangulationNcOssddl}tj||\}}}|j}|j}|j}d}t|dkrg|d}n|jj|\}	}
}|	dk	rO|	dk	rO|j
}|jddt|	|d<||d<d|d	<t
j||j||jf}
tjgtjgt|}t|
|}t||}|j|nd|d<|j||||dS(
s
    Draw a unstructured triangular grid as lines and/or markers to
    the :class:`~matplotlib.axes.Axes`.

    The triangulation to plot can be specified in one of two ways;
    either::

      triplot(triangulation, ...)

    where triangulation is a :class:`~matplotlib.tri.Triangulation`
    object, or

    ::

      triplot(x, y, ...)
      triplot(x, y, triangles, ...)
      triplot(x, y, triangles=triangles, ...)
      triplot(x, y, mask, ...)
      triplot(x, y, mask=mask, ...)
      triplot(x, y, triangles, mask, ...)
      triplot(x, y, triangles, mask=mask, ...)

    in which case a Triangulation object will be created.  See
    :class:`~matplotlib.tri.Triangulation` for a explanation of these
    possibilities.

    The remaining args and kwargs are the same as for
    :meth:`~matplotlib.axes.Axes.plot`.

    **Example:**

        .. plot:: mpl_examples/pylab_examples/triplot_demo.py
    iNtitNonetmarkert	linestylet	edgecolort	facecolor(tmatplotlib.axesRtget_from_args_and_kwargstxtytedgestlentaxest_process_plot_formatRtcopytpopRtnptcolumn_stacktflattenRtMOVETOtLINETORt	add_patchtplot(taxtargstkwargst
matplotlibttriRR
RtfmtRRtcolortkwtverticestcodestpatht	pathpatch((sI/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/triplot.pyttriplots,"			


) 
(tmatplotlib.cbookRtmatplotlib.patchesRtmatplotlib.pathRtmatplotlib.tri.triangulationRtnumpyRR'(((sI/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/triplot.pyt<module>s