# Vector field plotting of 2x2 matrix

**URL:** https://discourse.julialang.org/t/vector-field-plotting-of-2x2-matrix/117304
**Category:** New to Julia
**Tags:** cairomakie
**Created:** [July 21, 2024, 3:16pm UTC](https://discourse.julialang.org/t/vector-field-plotting-of-2x2-matrix/117304 "2024-07-21T15:16:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Banan\_alkafri](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@Banan\_alkafri](https://discourse.julialang.org/u/Banan_alkafri)
#### Post date: [July 21, 2024, 3:16pm UTC](https://discourse.julialang.org/t/vector-field-plotting-of-2x2-matrix/117304/1 "2024-07-21T15:16:03Z")

</div>

I am trying to plot a vector field of a 2x2 polynomial matrix defined with DynamicPolynomials.jl. I’m trying CairoMakie but it’s not working. Can you please help me to plot it?

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [July 21, 2024, 8:30pm UTC](https://discourse.julialang.org/t/vector-field-plotting-of-2x2-matrix/117304/2 "2024-07-21T20:30:52Z")

</div>

Can you please share the code that is not working and the error message?
