# How to change the color of bars in boxplot Gadfly and add minor ticks in the vertical axis?

**URL:** <https://discourse.julialang.org/t/how-to-change-the-color-of-bars-in-boxplot-gadfly-and-add-minor-ticks-in-the-vertical-axis/50126>\
**Category:** New to Julia\
**Created:** [November 14, 2020, 2:25am UTC](https://discourse.julialang.org/t/how-to-change-the-color-of-bars-in-boxplot-gadfly-and-add-minor-ticks-in-the-vertical-axis/50126 "2020-11-14T02:25:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rio](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@rio](https://discourse.julialang.org/u/rio)\
**Post date:** [November 14, 2020, 2:25am UTC](https://discourse.julialang.org/t/how-to-change-the-color-of-bars-in-boxplot-gadfly-and-add-minor-ticks-in-the-vertical-axis/50126/1 "2020-11-14T02:25:01Z")

</div>

Hi, please how could I change the color of the bars of the boxplot below, from deepskyblue to RGB = [0,9, 0,4, 0.2]?

And how could I add a few minor ticks in the vertical axis, if possible pointing outside the the plot area?

```julia
using Gadfly, Rdatasets

iris = dataset("datasets", "iris")
p = plot(iris, x=:Species, y=:SepalWidth, Geom.boxplot);
draw(PDF("myoutput.pdf", 10cm, 8cm),p)

```

Thank you!
