({{, (RefLink[StreamStyle, paclet:ref/StreamStyle]) 
is an option to (RefLink[StreamPlot, paclet:ref/StreamPlot]), (RefLink[StreamDensityPlot, paclet:ref/StreamDensityPlot]), and related functions that determines the style to use for drawing streamlines.}})

OpenersNotesSection(Spacer1)Details

The setting for (RefLink[StreamStyle, paclet:ref/StreamStyle]) can include any color, thickness, dashing, arrowhead or other graphics directive.

(RefLink[StreamStyle, paclet:ref/StreamStyle])->g specifies that a graphics directive g should be used to draw vectors in a plot.

(RefLink[StreamStyle, paclet:ref/StreamStyle])->{(Subscript[g, 1]),(Subscript[g, 2]),…} specifies that successive directives (Subscript[g, i]) should be used cyclically for successive vector fields.

The directives that can be given include:

If an explicit setting is given for (RefLink[StreamColorFunction, paclet:ref/StreamColorFunction]), it is used in preference to the setting for (RefLink[StreamStyle, paclet:ref/StreamStyle]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (6)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Set the streamline style:

StreamPlot[{-1-x^2+y,1+x-y^2},{x,-3,3},{y,-3,3},StreamStyle->Pink]

Set the style for streamlines overlaid on a background based on field magnitude:

StreamDensityPlot[{-1-x^2+y,1+x-y^2},{x,-3,3},{y,-3,3},StreamStyle->Black]

Set the style for multiple vector fields:

StreamPlot[{{-1-x^2+y,1+x-y^2},{-(1+x-y^2),-1-x^2+y}},{x,-3,3},{y,-3,3},StreamStyle->{Red,Blue}]

OpenersExampleSection1(Spacer1)Scope  (3)

Combine stream styles with stream markers:

StreamPlot[{-x+y,x+y},{x,-3,3},{y,-3,3},StreamStyle->Red,StreamMarkers->"Drop"]

Control the size of the arrowheads:

Table[StreamPlot[{-x+y,x+y},{x,-3,3},{y,-3,3},StreamStyle->Arrowheads[n],PlotLabel-> Arrowheads[n]],{n,{0.025,0.05}}]

Use an arbitrary graphic as the arrowheads for vectors:

StreamPlot[{-x+y,x+y},{x,-3,3},{y,-3,3},StreamStyle->Arrowheads[{{.025,1,{,0}}}]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[StreamColorFunction, paclet:ref/StreamColorFunction])  ▪  (RefLink[StreamMarkers, paclet:ref/StreamMarkers])  ▪  (RefLink[StreamScale, paclet:ref/StreamScale])  ▪  (RefLink[StreamPoints, paclet:ref/StreamPoints])  ▪  (RefLink[VectorStyle, paclet:ref/VectorStyle])  ▪  (RefLink[StreamPlot, paclet:ref/StreamPlot])  ▪  (RefLink[StreamDensityPlot, paclet:ref/StreamDensityPlot])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Vector Visualization, paclet:guide/VectorVisualization])}})}})