# How to make a wind rose in Julia

**URL:** <https://discourse.julialang.org/t/how-to-make-a-wind-rose-in-julia/40229>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [May 27, 2020, 1:10am UTC](https://discourse.julialang.org/t/how-to-make-a-wind-rose-in-julia/40229 "2020-05-27T01:10:43Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![jmkuhn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmkuhn/32/2090_2.png) [@jmkuhn](https://discourse.julialang.org/u/jmkuhn)\
**Post date:** [May 27, 2020, 11:03pm UTC](https://discourse.julialang.org/t/how-to-make-a-wind-rose-in-julia/40229/10 "2020-05-27T23:03:50Z")

</div>

I have used the command line version of GMT quite a bit but I’m still a novice with the Julia interface. This should get you started.

```julia
using GMT

theta = range(0, stop = 1.5π, length = 100)
r = abs.(0.1 * randn(100) + sin.(3 * theta))
rose([r theta.*180/π], region=[0 1.4 0 360], A=270/99, frame="xg0.2",
    L="270,90,180,0", pen=(:thin, :blue), fill=:orange, fmt=:png, show=true)

```

 ![rose1](https://global.discourse-cdn.com/julialang/original/3X/c/5/c5dc190f251a99d271e1d674c14324e4093dd7f1.png)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-make-a-wind-rose-in-julia/40229)._
