# PyPlot: how to plot up-down arrows in a figure?

**URL:** <https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741>\
**Category:** Offtopic\
**Tags:** pyplot\
**Created:** [December 5, 2016, 3:29pm UTC](https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741 "2016-12-05T15:29:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![songroom](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@songroom](https://discourse.julialang.org/u/songroom)\
**Post date:** [December 5, 2016, 3:29pm UTC](https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741/1 "2016-12-05T15:29:02Z")

</div>

![](https://global.discourse-cdn.com/julialang/original/3X/7/7/77bd5831c3416ce7f743b62044b093380260430e.png)

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihnorton/32/26_2.png) [@ihnorton](https://discourse.julialang.org/u/ihnorton)\
**Post date:** [December 17, 2016, 1:18am UTC](https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741/2 "2016-12-17T01:18:35Z")

</div>

Maybe this example will get you started:

[https://gist.github.com/gizmaa/7214002#plot-annotation](https://gist.github.com/gizmaa/7214002#plot-annotation)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [December 17, 2016, 1:45am UTC](https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741/3 "2016-12-17T01:45:36Z")

</div>

Not sure directly with PyPlot, but if you use Plots.jl with PyPlot as the backend, you can use a scatter plot as set the markers. The details for how to do this stuff is shown here:

[https://juliaplots.github.io/examples/pyplot/](https://juliaplots.github.io/examples/pyplot/)

---

<div class="post-metadata">

**Author:** ![songroom](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@songroom](https://discourse.julialang.org/u/songroom)\
**Post date:** [December 17, 2016, 1:55am UTC](https://discourse.julialang.org/t/pyplot-how-to-plot-up-down-arrows-in-a-figure/741/4 "2016-12-17T01:55:14Z")

</div>

thanks very much!

------------------ 原始邮件 ------------------
