stream#
- cfplot.stream(u=None, v=None, x=None, y=None, density=None, linewidth=None, color=None, arrowsize=None, arrowstyle=None, minlength=None, maxlength=None, axes=True, xaxis=True, yaxis=True, xticks=None, xticklabels=None, yticks=None, yticklabels=None, xlabel=None, ylabel=None, title=None, zorder=None)[source]#
- Plot a streamplot to show fluid flow and 2D field gradients.u=None - u windv=None - v windx=None - x locations of u and vy=None - y locations of u and vdensity=None - controls the closeness of streamlines. When density = 1,the domain is divided into a 30x30 gridlinewidth=None - the width of the stream lines. With a 2D array theline width can be varied across the grid. The arraymust have the same shape as u and vcolor=None - the streamline colorarrowsize=None - scaling factor for the arrow sizearrowstyle=None - arrow style specificationminlength=None - minimum length of streamline in axes coordinatesmaxlength=None - maximum length of streamline in axes coordinatesaxes=True - plot x and y axesxaxis=True - plot xaxisyaxis=True - plot y axisxticks=None - xtick positionsxticklabels=None - xtick labelsyticks=None - y tick positionsyticklabels=None - ytick labelsxlabel=None - label for x axisylabel=None - label for y axistitle=None - title for plotzorder=None - plotting order
- Returns:
None