# Makie: Put text at arbitrary position outside the frame

**URL:** <https://discourse.julialang.org/t/makie-put-text-at-arbitrary-position-outside-the-frame/105322>\
**Category:** Visualization\
**Tags:** question, makie\
**Created:** [October 23, 2023, 4:56pm UTC](https://discourse.julialang.org/t/makie-put-text-at-arbitrary-position-outside-the-frame/105322 "2023-10-23T16:56:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ryofurue](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ryofurue/32/24531_2.png) [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Post date:** [October 23, 2023, 4:56pm UTC](https://discourse.julialang.org/t/makie-put-text-at-arbitrary-position-outside-the-frame/105322/1 "2023-10-23T16:56:20Z")

</div>

From a past thread (see below), I learned how to put arbitrary text outside the frame. But, am I right that it’s impossible or extremely tedious to put text at an **arbitrary position**?

I’ve plotted the following figure, which is okay, but there is too much space between the y axes. One solution is to move the y-axis labels above the upper ends of the corresponding y axes.

I tried `text!(ax1, . . . )` but the text appears only within the frame. Is it possible to switch off the clipping behavior?

This is just an example. I sometimes put some text on the figure inside and outside and sometimes even across an axis.

![tmp](https://global.discourse-cdn.com/julialang/original/3X/6/a/6a27a85f97f128dc36f43cacd69d3abf50998113.png)

* * *

> [@Text outside of Axis with Makie](https://discourse.julialang.org/t/text-outside-of-axis-with-makie/97888):
>
> Is it possible, using Makie.jl, to add text outside of an axis? For instance, in using CairoMakie fig = Figure() ax = Axis(fig[1, 1]) [image] I want to add text right on the top-left on the plot outside of the axis itself. I tried e.g. text!(ax, -5, 10; text = L"$ $Upper") but of course that just changes the axis limits and puts it inside.

---

_[View the full topic](https://discourse.julialang.org/t/makie-put-text-at-arbitrary-position-outside-the-frame/105322)._
