# Can you do fine adjustment on legend position in Makie?

**URL:** <https://discourse.julialang.org/t/can-you-do-fine-adjustment-on-legend-position-in-makie/88662>\
**Category:** General Usage\
**Tags:** plotting, makie\
**Created:** [October 13, 2022, 12:34pm UTC](https://discourse.julialang.org/t/can-you-do-fine-adjustment-on-legend-position-in-makie/88662 "2022-10-13T12:34:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdawg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cdawg/32/9811_2.png) [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Post date:** [October 13, 2022, 12:34pm UTC](https://discourse.julialang.org/t/can-you-do-fine-adjustment-on-legend-position-in-makie/88662/1 "2022-10-13T12:34:03Z")

</div>

I would like to do fine adjustment on the position of an axis so that it doesn’t interfere with plotted lines. Is there a way to do this? The documentation only shows the nine positions encoded by symbols like `:lc` in the following

```julia
axislegend(ax1, groups, labels, nbanks=1, position=:lc, margin=(4,0,0,-5), padding=(0,0,0,0))

```

Is there a way to adjust the position using plot coordinates or absolute coordinates? For instance, `position = (0.8, 0.3)` throws an error, because it tries to convert it to symbols. Thanks.

---

<div class="post-metadata">

**Author:** ![cdawg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cdawg/32/9811_2.png) [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Post date:** [October 13, 2022, 12:39pm UTC](https://discourse.julialang.org/t/can-you-do-fine-adjustment-on-legend-position-in-makie/88662/2 "2022-10-13T12:39:49Z")

</div>

ok, I got it to work by just adding in some padding, such as

```julia
axislegend(ax1, groups, labels, nbanks=1, position=:lc, margin=(4,0,0,-5), padding=(5,0,10,0))

```

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [October 13, 2022, 1:25pm UTC](https://discourse.julialang.org/t/can-you-do-fine-adjustment-on-legend-position-in-makie/88662/3 "2022-10-13T13:25:46Z")

</div>

In the just released version, the `position = tuple` behavior was also fixed, so your `(0.8, 0.3)` would have worked
