I am trying to plot some vector fields using StreamPlot, but I am unable to get the desired plot as some options are ignored when I add them.
Here is the vector field I am trying to plot:
\[Alpha] = Pi/4*(x + y);
Q = {{Cos[\[Alpha]], -Sin[\[Alpha]]}, {Sin[\[Alpha]], Cos[\[Alpha]]}};
And here is the plot:
\[CapitalOmega] = Rectangle[{0, 0}, {1, 1}];
StreamPlot[Q . {{1}, {0}}, {x, y} \[Element] \[CapitalOmega],
StreamPoints -> Coarse,
StreamMarkers -> "Segment",
StreamStyle -> Thickness[0.003],
StreamColorFunction -> (GrayLevel[0.35] &),
RegionFillingStyle -> LightGray,
RegionBoundaryStyle -> GrayLevel[0.35]]
The code above produces the following result:
As we can see, the options StreamMarkers
and Thickness
are ignored, as the plot looks the same, if the are omitted. Any idea how to change arrows to lines and set their thickness?