Skip to content

Instantly share code, notes, and snippets.

@Ansarina
Created December 21, 2018 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ansarina/a181f6f98a8b7cca8c8052787d3eb216 to your computer and use it in GitHub Desktop.
Save Ansarina/a181f6f98a8b7cca8c8052787d3eb216 to your computer and use it in GitHub Desktop.
V = 1;
\[Psi] = V y;
u1 = D[\[Psi], y];
v1 = D[-\[Psi], x];
StreamPlot[{{u1, v1}, {-v1, u1}}, {x, -3, 3}, {y, -3, 3},
StreamStyle -> {{Blue}, {Red, Dashed, Arrowheads[0]}},
ImageSize -> Medium]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment