# Text! in Makie

**URL:** https://discourse.julialang.org/t/text-in-makie/86074
**Category:** Visualization
**Tags:** makie
**Created:** [August 20, 2022, 7:11pm UTC](https://discourse.julialang.org/t/text-in-makie/86074 "2022-08-20T19:11:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xztt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xztt/32/33843_2.png) [@xztt](https://discourse.julialang.org/u/xztt)
#### Post date: [August 20, 2022, 7:11pm UTC](https://discourse.julialang.org/t/text-in-makie/86074/1 "2022-08-20T19:11:58Z")

</div>

Given I have multiple plots in one figure can someone tell me why the following does not work.

```julia
using CairoMakie

fig = Figure()
ax1 = Axis(fig[1, 1])
ax2 = Axis(fig[1, 2])
ax3 = Axis(fig[2, 1:2])
lines!(ax1, 0..10, sin)
text!(ax1, text = "fg", align = (:center, :top), color = :black)
lines!(ax2, 0..10, cos)
lines!(ax3, 0..10, sqrt)
fig

```

produces the error

```julia
ERROR: MethodError: objects of type NamedTuple{(:text, :align), Tuple{String, Tuple{Symbol, Symbol}}} are not callable
Stacktrace:
 [1] top-level scope
   @ ~/Downloads/DataEval.jl:178

```

I am very new to Makie so I could easily be missing something  
Cheers,  
Harry

---

<div class="post-metadata">

### Author: ![SteffenPL](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/steffenpl/32/206270_2.png) [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)
#### Post date: [August 20, 2022, 7:43pm UTC](https://discourse.julialang.org/t/text-in-makie/86074/2 "2022-08-20T19:43:48Z")

</div>

The x and y coordinates (where the text should be displayed) are missing 😉

---

<div class="post-metadata">

### Author: ![xztt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xztt/32/33843_2.png) [@xztt](https://discourse.julialang.org/u/xztt)
#### Post date: [August 20, 2022, 9:01pm UTC](https://discourse.julialang.org/t/text-in-makie/86074/3 "2022-08-20T21:01:06Z")

</div>

I may have misunderstood the docs here 🤦🏼‍♂️

Cheers 👍
