# Plotting streamlines

**URL:** <https://discourse.julialang.org/t/plotting-streamlines/39690>\
**Category:** New to Julia\
**Tags:** plotting\
**Created:** [May 18, 2020, 11:18am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690 "2020-05-18T11:18:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alireza\_Ghavaminia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alireza_ghavaminia/32/14397_2.png) [@Alireza\_Ghavaminia](https://discourse.julialang.org/u/Alireza_Ghavaminia)\
**Post date:** [May 18, 2020, 11:18am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690/1 "2020-05-18T11:18:44Z")

</div>

Hello everyone,  
I have 2d vectors u and v which are velocity fields in x and y direction, How can I plot the streamlines?

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [May 18, 2020, 11:54am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690/2 "2020-05-18T11:54:31Z")

</div>

You may take a look at Makie streamplots :

> [@Asynchronous Makie](https://discourse.julialang.org/t/asynchronous-makie/27127/16):
>
> For @tyfdzt: here are the basic components extracted from my code with Makie streamplots. Note that it is not a MWE. I hope it can help you. If not I can try to write a MWE. #The Cartesian axis : x = range(0,stop=lx,length=nx+1); hx = lx/nx; y = range(0,stop=ly,length=ny+1); hy = ly/ny; #Arrays for x and y velocity arrays that evolve via CFD simulation Ue=zeros(nx+2,ny+2) Ve=zeros(nx+2,ny+2) ..... #Declare a Makie Node (once) for storing velocity arrays uvn=Node([rand(size(Ue)...),rand(size(Ve…

---

<div class="post-metadata">

**Author:** ![Alireza\_Ghavaminia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alireza_ghavaminia/32/14397_2.png) [@Alireza\_Ghavaminia](https://discourse.julialang.org/u/Alireza_Ghavaminia)\
**Post date:** [May 20, 2020, 11:05am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690/3 "2020-05-20T11:05:50Z")

</div>

Unfortunately both `AbstractPlots` and `Makie` fail in installation. 🤔

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [May 20, 2020, 11:06am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690/4 "2020-05-20T11:06:24Z")

</div>

You should open an issue! This shouldn’t happen

---

<div class="post-metadata">

**Author:** ![Alireza\_Ghavaminia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alireza_ghavaminia/32/14397_2.png) [@Alireza\_Ghavaminia](https://discourse.julialang.org/u/Alireza_Ghavaminia)\
**Post date:** [May 20, 2020, 11:27am UTC](https://discourse.julialang.org/t/plotting-streamlines/39690/5 "2020-05-20T11:27:49Z")

</div>

Yes, I submitted an [issue here](https://github.com/JuliaPlots/Makie.jl/issues/606).
