# Incorrect filling in polar plot using fillrange

**URL:** https://discourse.julialang.org/t/incorrect-filling-in-polar-plot-using-fillrange/107390
**Category:** Visualization
**Tags:** plotting
**Created:** [December 10, 2023, 11:00pm UTC](https://discourse.julialang.org/t/incorrect-filling-in-polar-plot-using-fillrange/107390 "2023-12-10T23:00:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TheBigZet](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thebigzet/32/49153_2.png) [@TheBigZet](https://discourse.julialang.org/u/TheBigZet)
#### Post date: [December 10, 2023, 11:00pm UTC](https://discourse.julialang.org/t/incorrect-filling-in-polar-plot-using-fillrange/107390/1 "2023-12-10T23:00:40Z")

</div>

I am trying to create a polar plot, with hatched area between the series and a constant value.  
I’ve managed to do so with this code:

```julia
x1 = collect(range(0, π, length = 100))
x2 = collect(range(π, 0, length = 100))
y1 = (50 .+ 5 .*abs.(1 .+ rand(100)))
y2 = [50 for _ in 1:100]
x = vcat(x1, x2)
y = vcat(y1, y2)
plot(x,y,
    proj = :polar,
    fill= true
)

```

![plot](https://global.discourse-cdn.com/julialang/original/3X/1/6/169658cfaf365f09a0123dbaf6088d64e05e793e.png)  
However, the first thing that came up to my mind, after reading docs, was to use `fillrange`:

```julia
x1 = collect(range(0, π, length = 100))
y1 = (50 .+ 5 .*abs.(1 .+ rand(100)))
plot(x1,y1,
    proj = :polar,
    fillrange = 50
)

```

![plot2](https://global.discourse-cdn.com/julialang/original/3X/f/b/fb72b4a0246a3f9cb57fb95162df78323075ca5f.png)

Which is clearly not intended. Is this a bug or I’m misunderstanding it?

2nd question, is it possible to make a radial hatch pattern? `fillstyle` options `:|, :\` are drawn related to the screen

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