# Plotting Phase Portrait

**URL:** <https://discourse.julialang.org/t/plotting-phase-portrait/17250>\
**Category:** Visualization\
**Tags:** plotting, diffeq\
**Created:** [November 7, 2018, 12:19pm UTC](https://discourse.julialang.org/t/plotting-phase-portrait/17250 "2018-11-07T12:19:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torkel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/torkel/32/5030_2.png) [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Post date:** [November 7, 2018, 12:19pm UTC](https://discourse.julialang.org/t/plotting-phase-portrait/17250/1 "2018-11-07T12:19:29Z")

</div>

Give I have some function (two dimensional), representing some differential equation. How do I point a corresponding phase portrait?

(in each point in some grid, plot an arrow corresponding to the direction of movement in that point for the differential equation)

---

<div class="post-metadata">

**Author:** ![y4lu](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@y4lu](https://discourse.julialang.org/u/y4lu)\
**Post date:** [November 7, 2018, 2:24pm UTC](https://discourse.julialang.org/t/plotting-phase-portrait/17250/2 "2018-11-07T14:24:39Z")

</div>

> [@Plot 3d vector field](https://discourse.julialang.org/t/plot-3d-vector-field/2117):
>
> I would like to plot a 3d vector field (e.g. a couple of points with arrows attached), with some basic interactivity (rotatate, zoom, pan). What are my options to do this in julia? Are there some example codes with 3d vector fields? Is it possible with Plots.jl?
