# Anyway to increase the heatmap "block" height?

**URL:** https://discourse.julialang.org/t/anyway-to-increase-the-heatmap-block-height/41355
**Category:** General Usage
**Created:** [June 14, 2020, 4:37am UTC](https://discourse.julialang.org/t/anyway-to-increase-the-heatmap-block-height/41355 "2020-06-14T04:37:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)
#### Post date: [June 14, 2020, 4:37am UTC](https://discourse.julialang.org/t/anyway-to-increase-the-heatmap-block-height/41355/1 "2020-06-14T04:37:35Z")

</div>

I am constructing a heatmap `heatmap(xvals, yvals, zvals, size=(500,2000)` but because the `yvals` are texts, they seem to overlap and jumble together. See

 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/e/1ec13974e5cf5c6f5995a4938c5e5c813c9cb9dd.png)

Now increase `size=(500, 10000)` helps only slightly and seems to “first take the jumbled plot” and then expand it to the size given. Is there another way to do this?

---

<div class="post-metadata">

### Author: ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)
#### Post date: [June 15, 2020, 11:34pm UTC](https://discourse.julialang.org/t/anyway-to-increase-the-heatmap-block-height/41355/2 "2020-06-15T23:34:50Z")

</div>

Just bumping this up in case anyone has an idea…otherwise may have to shift to Vegalite, gnuplot or ggplot2.

---

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [June 16, 2020, 12:05am UTC](https://discourse.julialang.org/t/anyway-to-increase-the-heatmap-block-height/41355/3 "2020-06-16T00:05:09Z")

</div>

> [@affans](#):
>
> (500, 10000)

```julia
y0=0:100:1000
y1 = y0.*6
heatmap(rand(100,3), aspect_ratio=0.21, size = (500, 3000), colorbar=false, margin=10mm)
savefig("test.png")

```

play with the `aspect_ratio` options maybe?

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