# Plotting trajectories

**URL:** <https://discourse.julialang.org/t/plotting-trajectories/7111>\
**Category:** General Usage\
**Created:** [November 17, 2017, 12:33am UTC](https://discourse.julialang.org/t/plotting-trajectories/7111 "2017-11-17T00:33:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JackDevine](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jackdevine/32/1048_2.png) [@JackDevine](https://discourse.julialang.org/u/JackDevine)\
**Post date:** [November 17, 2017, 8:54am UTC](https://discourse.julialang.org/t/plotting-trajectories/7111/2 "2017-11-17T08:54:08Z")

</div>

I think that the `zorder` keyword argument should help you:

```julia
julia> using PyPlot

julia> xx = linspace(0, 2pi)
0.0:0.1282282715750936:6.283185307179586

julia> plot([0, 2], "b", zorder=1)
1-element Array{PyCall.PyObject,1}:
 PyObject <matplotlib.lines.Line2D object at 0x129216b10>

julia> fill(sin.(xx), cos.(xx), "k", zorder=2)
1-element Array{PyCall.PyObject,1}:
 PyObject <matplotlib.patches.Polygon object at 0x1293a7f10>

```

---

_[View the full topic](https://discourse.julialang.org/t/plotting-trajectories/7111)._
