lib/matplotlib/backends/backend_ps.py
def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None):
        """
        Draw the markers defined by path at each of the positions in x
        and y.  path coordinates are points, x and y coords will be
        transformed by the transform
        """
        if debugPS: self._pswriter.write('% draw_markers \n')

        write = self._pswriter.write

        if rgbFace:
            if rgbFace[0]==rgbFace[1] and rgbFace[0]==rgbFace[2]:
                ps_color = '%1.3f setgray' % rgbFace[0]
            else:
                ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace

        # construct the generic marker command:
        ps_cmd = ['/o {', 'gsave', 'newpath', 'translate'] # dont want the translate to be global
        ps_cmd.append(self._convert_path(marker_path, marker_trans))

        if rgbFace:
            ps_cmd.extend(['gsave', ps_color, 'fill', 'grestore'])

        ps_cmd.extend(['stroke', 'grestore', '} bind def'])

        for vertices, code in path.iter_segments(trans, simplify=False):
            if len(vertices):
                x, y = vertices[-2:]
                ps_cmd.append("%g %g o" % (x, y))

        ps = '\n'.join(ps_cmd)
        self._draw_ps(ps, gc, rgbFace, fill=False, stroke=False)

        Draw the markers defined by path at each of the positions in x
        and y.  path coordinates are points, x and y coords will be
        transformed by the transform
        
Draw the markers defined by path at each of the positions in x
and y.  path coordinates are points, x and y coords will be
transformed by the transform
Draw the markers defined by path at each of the positions in x and y . path coordinates are points x and y coords will be transformed by the transform
def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None):
        if debugPS: self._pswriter.write('% draw_markers \n')
        write = self._pswriter.write
        if rgbFace:
            if rgbFace[0]==rgbFace[1] and rgbFace[0]==rgbFace[2]:
                ps_color = '%1.3f setgray' % rgbFace[0]
            else:
                ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace
        ps_cmd = ['/o {', 'gsave', 'newpath', 'translate'] 
        ps_cmd.append(self._convert_path(marker_path, marker_trans))
        if rgbFace:
            ps_cmd.extend(['gsave', ps_color, 'fill', 'grestore'])
        ps_cmd.extend(['stroke', 'grestore', '} bind def'])
        for vertices, code in path.iter_segments(trans, simplify=False):
            if len(vertices):
                x, y = vertices[-2:]
                ps_cmd.append("%g %g o" % (x, y))
        ps = '\n'.join(ps_cmd)
        self._draw_ps(ps, gc, rgbFace, fill=False, stroke=False)
def draw_markers ( self , gc , marker_path , marker_trans , path , trans , rgbFace = None ) : if debugPS : self . _pswriter . write ( '% draw_markers \n' ) write = self . _pswriter . write if rgbFace : if rgbFace [ 0 ] == rgbFace [ 1 ] and rgbFace [ 0 ] == rgbFace [ 2 ] : ps_color = '%1.3f setgray' % rgbFace [ 0 ] else : ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace ps_cmd = [ '/o {' , 'gsave' , 'newpath' , 'translate' ] ps_cmd . append ( self . _convert_path ( marker_path , marker_trans ) ) if rgbFace : ps_cmd . extend ( [ 'gsave' , ps_color , 'fill' , 'grestore' ] ) ps_cmd . extend ( [ 'stroke' , 'grestore' , '} bind def' ] ) for vertices , code in path . iter_segments ( trans , simplify = False ) : if len ( vertices ) : x , y = vertices [ - 2 : ] ps_cmd . append ( "%g %g o" % ( x , y ) ) ps = '\n' . join ( ps_cmd ) self . _draw_ps ( ps , gc , rgbFace , fill = False , stroke = False )
Draw the markers defined by path at each of the positions in x
and y.  path coordinates are points, x and y coords will be
transformed by the transform
Draw the markers defined by path at each of the positions in x and y . path coordinates are points x and y coords will be transformed by the transform
"""
        Draw the markers defined by path at each of the positions in x
        and y.  path coordinates are points, x and y coords will be
        transformed by the transform
        """ # construct the generic marker command: # dont want the translate to be global
self
gc
marker_path
marker_trans
path
trans
rgbFace