# Gadfly labels overlap and are not readable

**URL:** <https://discourse.julialang.org/t/gadfly-labels-overlap-and-are-not-readable/76634>\
**Category:** General Usage\
**Tags:** plotting, gadfly\
**Created:** [February 17, 2022, 3:56pm UTC](https://discourse.julialang.org/t/gadfly-labels-overlap-and-are-not-readable/76634 "2022-02-17T15:56:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)\
**Post date:** [February 17, 2022, 3:56pm UTC](https://discourse.julialang.org/t/gadfly-labels-overlap-and-are-not-readable/76634/1 "2022-02-17T15:56:39Z")

</div>

I am trying to plot a figure which very elongated. However, the Gadfly labels overlap and are not readable.

See below:

```julia
Gadfly.draw(Gadfly.PDF("a.pdf"), Gadfly.spy(rand(1000,10), Gadfly.Scale.y_discrete(labels=i->string(i)), Gadfly.Guide.yticks(label=true), Gadfly.Theme(minor_label_font_size=0.3Gadfly.pt, major_label_font_size=0.3Gadfly.pt, key_title_font_size=0.3Gadfly.pt, key_label_font_size=0.3Gadfly.pt)))

```

 ![a](https://global.discourse-cdn.com/julialang/original/3X/e/c/ec9c4369e4aa93706dc22573c1f0e838a026deb2.png)

 ![Screen Shot 2022-02-18 at 9.10.29 AM](https://global.discourse-cdn.com/julialang/original/3X/8/7/872f651dccd8b188eb5dfc4c4b2c9d2ae76b1886.png)
