# Hatch or groupfill in groupedbar stats plots

**URL:** <https://discourse.julialang.org/t/hatch-or-groupfill-in-groupedbar-stats-plots/71824>\
**Category:** New to Julia\
**Tags:** statsplots\
**Created:** [November 20, 2021, 1:36pm UTC](https://discourse.julialang.org/t/hatch-or-groupfill-in-groupedbar-stats-plots/71824 "2021-11-20T13:36:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandemundo82](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/grandemundo82/32/17667_2.png) [@grandemundo82](https://discourse.julialang.org/u/grandemundo82)\
**Post date:** [November 20, 2021, 1:36pm UTC](https://discourse.julialang.org/t/hatch-or-groupfill-in-groupedbar-stats-plots/71824/1 "2021-11-20T13:36:51Z")

</div>

Hello:

Is there anyway to fill the bar in groupedbar (statsplots Julia) with something like hatch or groupfill?

That would be really useful for publications in black and white.

I tried the below without luck  
Please help.

```julia
J, L = 8, 3 ; beta0 = rand(L,J) ;
ctg = repeat(["C","I","M"], inner = J) ;
nam = repeat(string.(1:J), outer = L) ;
filx = repeat([:+,:/,:x], inner = J) ;
groupedbar(nam,beta0, group = ctg,
    xlabel = "O", ylabel = "S", legend = :topleft, fillstyle =filx,
    color = [:green :blue :red]) ;

```
